Notation declarations before attribute list declarations?

David Brownell david-b at
Tue Sep 28 00:40:37 BST 1999

John Cowan wrote:
> Simon St.Laurent scripsit:
> > >From 3.3.1 of the XML 1.0 Recommendation:
> > Validity Constraint: Notation Attribute
> >
> > Values of this type must match one of the notation names included in the
> > declaration; all notation names in the declaration must be declared.
> >
> > --------
> >
> > Do the notation declarations need to appear before the ATTLIST declaration,
> > or are they allowed to appear afterwards?
> Either before or after is fine.

For example, if a notation (say PNG) is defined in the external
subset where it's easily shared, it might be desirable to declare
a reference to that notation in the internal subset.

This shows up both with attributes of type NOTATION and with
unparsed entity declarations.  The latter situation is pretty
common (I'm told :-) among folk who use unparsed entities:
each document has its own set of entities, but the types of
the entities (their notations) are widely shared.

- Dave

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list