You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/09/16 19:23:38 UTC

[GitHub] [royale-asjs] greg-dove commented on issue #470: XML declaration warning

greg-dove commented on issue #470: XML declaration warning
URL: https://github.com/apache/royale-asjs/issues/470#issuecomment-531921068
 
 
   Thanks for reporting this. I am just adding comments here for extra info. I may get to this issue later this week, or some else might get to it first. The warning you see is a Google Closure Warning for the generated js output which is the XML literal content expressed as a multiline string. I have checked this recently because the warning output is a common problem with XML and there appears to be no way to suppress the warning in GCC (as there are with other warnings that GCC generates, which we can suppress). In terms of the multiline string vs. the single line string passed to XML constructor, that seems to be related to parsing and the presence or absence of a semicolon as a terminator for the XML literal. The compiler does not know about the XML.ignoreWhiteSpace setting or not, so perhaps it might be correct as it is. But I can check what string content avmplus uses in this specific example and make sure we match that. The warning side of things is another general matter. Unless there is a way to switch that off, the only way to avoid it will be to output the string content in a way that does not cause GCC to dislike it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services