Harbs commented on issue #22: Unable to parse valid XML with CDATA URL: https://github.com/apache/royale-compiler/issues/22#issuecomment-366908137 Interestingly this also produces an error: ```` var content:XML = new XML( '<root>' + ' <content><![CDATA[<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>' + '<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27 ">' + ' <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">' + ' <rdf:Description rdf:about=""/>' + ' </rdf:RDF>' + '</x:xmpmeta>' + '<?xpacket end="r"?>]]></content>' + '</root>'); ```` Separating the two right brackets makes the error go away: ```` var content:XML = new XML( '<root>' + ' <content><![CDATA[<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>' + '<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27 ">' + ' <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">' + ' <rdf:Description rdf:about=""/>' + ' </rdf:RDF>' + '</x:xmpmeta>' + '<?xpacket end="r"?>]'+']></content>' + '</root>'); ```` Hopefully this is helpful in tracking down the source of the problem.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
