[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: <!-- -- -->
Hi Peter, If I read you correctly, then it means "--" is not allowed in the content of comment in XML because: 1. [15] in REC does not allow that. 2. that will make XML incompatible with SGML. You know, I got confused because, when [15] is so clear in not allowing "--" in comment, why should the line [For compatibility, the string "--" (double-hyphen) must not occur within comments] be mentioned at all. If somebody can answer this one question here then I would be more than clear: Is "--" allowed in the content of comment in a XML by any means and call it legal XML?. Thanks, Joe F. --- Peter Davis <peter@p...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tuesday 08 October 2002 02:32, Joe Forrest wrote: > > What then on the earth is the meaning of: > > "For compatibility, the string "--" > (double-hyphen) > > must not occur within comments" > > - From XML 1.0 [1]: > > "for compatibility": > > [Definition: Marks a sentence describing a > feature of XML included > solely to ensure that XML remains compatible > with SGML.] > > There is no technical reason why "--" is not > allowed. Because SGML does not > allow (or at least does not like) the "--" > construct, it has been forbidden > by the XML grammar. > > Did you read this in the XML 1.0 Recommendation [1]? > If so, just click the > link surrounding "For compatibility" in the very > text you have quoted: you > will arrive at the definition of that term. > > An older thread [2] asked this same question. > > [1] http://www.w3.org/TR/REC-xml > [2] > http://lists.w3.org/Archives/Public/www-html/2002Apr/0049.html > > - -- > Peter Davis > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.7 (GNU/Linux) > > iD8DBQE9oscphDAgUT1yirARAp3cAJ9jHKrF7hkufql4TM5hMGguaK9JSACglu6C > vBBLp3iSYp7+x10KrFkTFKM= > =XI+H > -----END PGP SIGNATURE----- > __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|