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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Order of Declarations in DTD subsets

[ Lists Home | Date Index | Thread Index ]
  • From: James Clark <jjc@jclark.com>
  • To: xml-dev@ic.ac.uk
  • Date: Mon, 22 Dec 1997 16:28:38 +0700

Peter Murray-Rust wrote:
> 
> Is it required that a declaration in the subset come before it is used?

In general no.  The exceptions are that parameter entities must be
declared before they are referenced and general entities must be
declared before they are referenced within default attribute values
(this is specified under Well-Formedness Constraint - Entity Declared). 
In particular it is *not* required:

- to declare an element type before it is used in content model

- to declare an element type before it is used in an attlist declaration

- to declare a notation before its name is used as the default value for
a NOTATION attribute

- to declare a notation before it is used as the notation for an
unparsed entity

- to declare an unparsed entity before its name is used in the value for
an ENTITY or ENTITIES attribute

- to declare a general entity before it occurs in an EntityValue

James

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