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

From
Thomas B. Passin <>
To
Date
2002-10-08T13:14:36Z
ID
<002b01c26ecc$a6c139a0$fe193044@tbp1>
Thread
Re: [xml-dev] <!-- -- -->
[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?

Cheers,

Tom P