[XML-SIG] comments and -- in SAX
Mike F Miller
mikem@ichips.intel.com
Mon, 22 Jul 2002 15:36:46 -0700
I've run into something in the SAX validation code that I'm not
sure is entirely correct. Basically, I've got a double dash inside
of a comment, and SAX doesn't seem to like it at all. Is this legal
XML and SAX is legitimately complaining or am I doing something
that's illegal in my XML comments?
Thanks,
- Mike Miller
mikem@ichips.intel.com
---XML file--------------------------------------------------------------
<?xml version="1.0" standalone="no"?>
<!DOCTYPE pandc SYSTEM "pandc.dtd">
<pandc>
<!-- -->
<!-- bla bla bla -->
<!-- bla bla bla -->
<!-- --shawn -->
</pandc>
---Error produced (most are from my code) ------------------------------
$TCHAIN/lib/XMLDocumentHandler.py:284: in function parseFile - processing xml file mp_system.oldmax.xml
$TCHAIN/lib/XMLDocumentHandler.py:284: in function parseFile - processing xml file mp_system.xml
$TCHAIN/lib/XMLDocumentHandler.py:284: in function parseFile - processing xml file feed.frog.xml
FATAL ERROR in feed.frog.xml:9:9: '-->' expected
***************************************************************************
*
* XML Errors found exiting
*
***************************************************************************
-------------------------------------------------------------------------