[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: GOTCHA!


Subject: Re: GOTCHA!
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 14 Jan 1999 09:32:29 GMT

> Sadly it is required by the
> XML standard (why couldn't they just ban '-->', instead of '--' itself?),


Presumably because they wanted to ensure that XML comments were also
always SGML comments. In SGML the rule is

<!-- comment -- not comment -- comment -- not comment -->

Which usually leads to interesting questions about why 
<!-------------
this
--------------->

sometimes works and sometimes doesn't (depending on how long you hold
your finger down on the - key:-)

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml