W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2005

Re: normalized enumeration facet values

From: Kasimier Buchcik <kbuchcik@4commerce.de>
Date: Tue, 15 Mar 2005 22:09:38 +0100
Message-ID: <42374F12.8030001@4commerce.de>
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
CC: xmlschema-dev@w3.org

Henry S. Thompson wrote:
> Kasimier Buchcik <kbuchcik@4commerce.de> writes:
>>I stumbled over a difference between XSV 2.7 and Xerces-J 2.6.2, related
>>to whitespace handling of enumeration facet values. XSV seems not to use
>>the normalized value of the facet in this case, while Xerces does.
> That's a bug -- I'm embarassed I wasn't detecting that in my testing :-(
> Will be fixed in next release.

Hmm, if this is a bug, I'd still like to know why, since the type of the
facet's value is anySimpleType:

   id = ID
   value = anySimpleType
   {any attributes with non-schema namespace . . .}>
   Content: (annotation?)

So can someone point me to the place in the spec, that explains why
Xerces does normalize the facet's value according to the base type
definition? I can only find the statement that the value of the facet
needs to be valid against the base type, not that it actually _is_ of
that type.


Received on Tuesday, 15 March 2005 21:10:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:07 UTC