[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Invalid Markup in External DTD conditionals
On Tue, 2023-07-25 at 01:14 +0100, Daniel Murphy wrote: > Why is the ignore section not expected to be valid > declarations like an <![INCLUDE[]]> section? So you can use an IGNOREd marked section to "comment out" problems, incomplete declarations, or even non-XML text. I think the SGML rule that the IGNOREd marked section must be syntactically valid was seen as pointlessly onerous, although it does also mean you know you won't get syntax errors if you change the values. XML does not have nested comments. Neither did SGML, unfortunately; i wanted us to use <!--* .... *--> for XML comments, and allow -- inside them. But i think this failed because there was no way SGML was ever going to change for something an upstart like XML... and was not revisited when that changed. As to requiring the start and end tokens to be in the same entity, that's to preclude some parsing tricks people used to use with SGML that made the files impossible to process without a DTD, and uselessly hard to handle in other software. But it was all a long time ago now, and i no longer have access to the email archives at W3C. liam -- Liam Quin, https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|