Notations

James Tauber jtauber at jtauber.com
Mon Dec 7 15:37:54 GMT 1998


>Well put, Joel.  Notations appear to me to be the best way to declare the
>atomic types.  I humbly submit that a well designed schema would include a
>set of notation declarations for its atomic types and perhaps a few
middling
>complex types.

Agreed. And to encourage reuse of notations, I am going to set up a section
on SCHEMA.NET as a repository for notation declarations. John Cowan's are a
great start. Any more.

Let's actually put together some for some ISO8601 formats.

>Attributes can contain notation names for use in describing the
>element value.

Correct, so why do you want:

>I would like to see the following syntax:
><!ELEMENT OrderTime (#PCDATA) NDATA Iso8601_DateTime >

when you can just have

<!ELEMENT OrderTime (#PCDATA)>
<!ATTLIST OrderTime
    notation NOTATION (Iso8601_DateTime) #FIXED "Iso8601_DateTime">

?





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