Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The following:
var xmlSource:XML =
<xmlParentNode>
<Set1>
<child><year>2015</year></child>
<child><year>2016</year></child>
<child><year>2017</year></child>
</Set1>
<Set2>
<child><year>2015</year></child>
<child><year>2016</year></child>
<child><year>2017</year></child>
</Set2>
</xmlParentNode>;
becomes:
var /** @type
*/ xmlSource = new XML( '<xmlParentNode>
<Set1>
<child><year>2015</year></child>
<child><year>2016</year></child>
<child><year>2017</year></child>
</Set1>
<Set2>
<child><year>2015</year></child>
<child><year>2016</year></child>
<child><year>2017</year></child>
</Set2>
</xmlParentNode>') ;
Without escaping line endings, this does not work.