var contents2 = “
General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Documents.OpenString [boolTemplate] causes error
-
KdG January 10, 2018 at 11:11 am
Documents.OpenString [boolTemplate] causes error
January 10, 2018 at 11:11 amParticipants 0Replies 1Last Activity 5 years agoI noticed that since XMetaL Author Essential 12.0.0.077 the OpenString function hangs when you add the [boolTemplate]
So Documents.OpenString(doc,1,”test.xml”,false); causes no response
While Documents.OpenString(doc,1,”test.xml”); works fine.Is this a general thing or just someting with my installation?
_________________________
Steps to reproduce: Copy-paste the example from the Programers Guide (below) into XMetaL:// XMetaL Script Language JSCRIPT:
var xmlDec = '';
var docType = '';
var contents1 = “New Document “;
var contents2 = “Contents “;
var doc = xmlDec + docType + contents1 + contents2;
// Open the document in Tags On view
Documents.OpenString(doc,1,”test.xml”,false);Derek Read January 11, 2018 at 8:40 pm
Reply to: Documents.OpenString [boolTemplate] causes error
January 11, 2018 at 8:40 pmIt does appear to be functioning oddly. I'll let the development team know.
-
AuthorPosts
- You must be logged in to reply to this topic.