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: "Michael Kay" <M.H.Kay@eng.icl.co.uk>
  • To: <xml-dev@ic.ac.uk>
  • Date: Tue, 8 Dec 1998 09:41:00 -0000

> Correct, so why do you want:
> ><!ELEMENT OrderTime (#PCDATA) NDATA Iso8601_DateTime >
> when you can just have
> <!ELEMENT OrderTime (#PCDATA)>
> <!ATTLIST OrderTime
>     notation NOTATION (Iso8601_DateTime) #FIXED "Iso8601_DateTime">
One minor problem, as I pointed out not so long ago, is that the latter
declaration can be overridden in the internal DTD subset. So FIXED doesn't
really mean FIXED at all.

The real reason though is probably psychological. Us database folks have
been so firmly educated to distinguish types from instances that we find it
unnatural to implement an attribute of a type as if it were an immutable
attribute of each instance. I can learn to live with it though!

Mike Kay

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)

  • References:


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

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