[XML-SIG] comments and -- in SAX

David Niergarth jdnier@impressions.com
Mon, 22 Jul 2002 20:00:29 -0500


["Mike F Miller" <mikem@ichips.intel.com>]
> 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?

Sorry, but neither SGML nor XML allow '--' to appear in the body of a
comment.

--David