[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: external subset syntax
> From jjc@j... Mon Dec 15 11:59:21 1997 > james anderson too wrote: ...[snip] > > according to > > [31] extSubset ::= ( markupdecl | conditionalSect | PEReference > > | S ) > > > > there is no requirement that the external subset begin with a document > > type declaration. > > It is a requirement that the external subset *not* begin with a document > type declaration. > If it were permitted, it would mean that there is a doctype declaration within a doctype declaration, which is clearly nonsense. It is a common misunderstanding that DTD means "document type declaration" instead of "document type definition". > > which would mean that the only indication of the root element type comes > > from the refering declaration. which would mean that distinct xml > > documents could well specify different root elements with respect to the > > same external subset. > > > > is this intentional? > > Yes. > Not only that, it is an underexploited feature in SGML that this is the case. The only indication of real use of this feature in SGML comes from Eliot Kimber, but I believe that it would be even more valuable in XML. Per-Åke -- Per-Åke Ling (note: Per-Åke, transliteration Per-Ake) email: Per-Ake.Ling@u... phone: +46 8 727 5674 Ericsson Utvecklings AB mobile: +46 70 790 2446 AXE Research and Development fax: +46 8 727 3463 xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|