Re: XML::Parser bug in comment xml code?

Bjoern Hoehrmann <[email protected]> Fri, 11 Nov 2011 16:32:45 +0100
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
* Todd Rinaldo wrote:
>My question to the list is quite simply: Is this well formed XML?
>
><!--<cmdline><![CDATA[--]]></cmdline>-->

No, http://www.w3.org/TR/xml/#dt-comment "For compatibility, the string
"--" (double-hyphen) MUST NOT occur within comments."
-- 
Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs