W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2007

[Bug 4602] NOTATION and enumeration

From: <bugzilla@wiggum.w3.org>
Date: Thu, 07 Jun 2007 15:04:01 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1HwJWr-0004hO-2B@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4602





------- Comment #1 from davep@iit.edu  2007-06-07 15:04 -------
(In reply to comment #0)

> In part 2 of both 1.0 and 1.1, NOTATION type has the following constraint:
> 
> "Schema Component Constraint: enumeration facet value required for NOTATION
> It is an ˇerrorˇ for NOTATION to be used directly in a schema.  Only datatypes
> that are derived from NOTATION by specifying a value for ˇenumerationˇ can be
> used in a schema."
> 
> But it's not clear what "used directly in a schema" means.

It's always been my understanding that it means that NOTATION can only be the
base type of a datatype immediately derived as an enumeration.  That's possibly
more restrictive than is really necessary, and it doesn't answer the case of
xsi:type--since that's in the instance, not the schema.
Received on Thursday, 7 June 2007 15:09:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:41 GMT