[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Invalid Markup in External DTD conditionals

  • From: "Liam R. E. Quin" <liam@fromoldbooks.org>
  • To: Daniel Murphy <daniel@devasta.ie>, xml-dev@l...
  • Date: Tue, 25 Jul 2023 00:27:24 -0400

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.