XSchema: Notation attributes

John Cowan cowan at locke.ccil.org
Thu Jun 4 20:56:17 BST 1998

Blunderingly I wrote:

> > That's what my draft does wrt enumerations.  I have more problems
> > with notations, because it doesn't make sense to me to have to
> > redeclare every notation name with every notation attribute,
> > since any notation attribute can refer to any notation name.
> > Thus I treat notation attributes like other attributes with
> > predefined types.
> I'm not sure what you mean by redeclaring every notation name with every
> attribute.  In the above structure, the notation value is simply a NMTOKEN.  Why
> would I need to redeclare notation names?  Are you thinking that the
> NotationValue attribute is an enumerated (not NMTOKEN) attribute?

No, I was muddled about notation attributes.  Until today I did not
grasp that a specific notation attribute can only assume the value
of one of the notations defined for it, so my remark above ("any
notation attribute can refer to any notation name") is false, if
"any notation name" is understood as "the name of any notation
declared in the DTD".

Consequently, my draft is simply in error in treating NOTATION on
a par with ID, IDREF, ENTITY, ....

John Cowan	http://www.ccil.org/~cowan		cowan at ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list