Re: Notations

James Tauber (jtauber@jtauber.com)
Mon, 7 Dec 1998 23:40:56 +0800


>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">

?