OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: external subset syntax

[ Lists Home | Date Index | Thread Index ]
  • From: Per-Ake Ling <Per-Ake.Ling@uab.ericsson.se>
  • To: xml-dev@ic.ac.uk
  • Date: Mon, 15 Dec 1997 17:30:59 +0100


> From jjc@jclark.com 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-&Aring;ke, transliteration Per-Ake)
email:	Per-Ake.Ling@uab.ericsson.se	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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS