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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Notations

[ Lists Home | Date Index | Thread Index ]
  • From: "James Tauber" <jtauber@jtauber.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: 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">

?





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)


  • Follow-Ups:



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS