[XML-SIG] comments and -- in SAX
Fred L. Drake, Jr.
fdrake@acm.org
Tue, 23 Jul 2002 07:51:02 -0400
David Niergarth writes:
> SP/nsgmls is even happy to swallow this bit as SGML without complaining:
>
> <top><!-- <!-- --> -- -- --></top>
This follows the pairs rule I discussed perfectly:
<!-- <!-- --> -- -- -->
11 11 22 22 33 33
There is no nested markup inside the comment "content", so the
embedded <! and > are just more characters there, with no special
meaning.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation