sbotsford wrote:
Wpkg will exit on the following line
<!-- Foo -- Explanation of foo -->
but not on this:
<!-- Foo = Explanation of foo -->
I thought that anything between <!-- and --> was supposed to be a
comment, or is this a syntax quirk of XML
Well, it's not really the code in wpkg.js that does the real XML parsing.
But a quick search in google for "xml syntax comment" reveals that
you're not allowed to use "--":
Syntax Rule 6: Comments
XML like many other languages allows comments. Comments are typically
discarded by the parser ? thus they will not appear in the output of,
say a browser.
The syntax of a comment is shown by the example below:
<!-- This is a Comment -->
The special element starting with the symbols <!-- and ending with the
symbols --> is the comment and the text within forms the content of the
comment. Note that comments cannot be nested since the use of the
character string "--" is completely prohibited within a comment.
--
Tomasz Chmielewski
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users