OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] <!-- -- -->

[ Lists Home | Date Index | Thread Index ]

[Gerben Rampaart]

> This is because the double hyphen in comments is legal XML ... but illegal
> SGML. Since compatibility is still maintained between XML and SGML, leave
> the '--' out is the best thing to do in XML.

It is not legal xml and parsers give a fatal error.  Perhaps you mean that,
if SGML compatibility had not been an issue, then double hyphens would have
been allowed?


Tom P


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS