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

Re: Is the Type Library draft valid?

From: Kasimier Buchcik <kbuchcik@4commerce.de>
Date: Thu, 17 Mar 2005 10:50:05 +0100
Message-ID: <423952CD.4010107@4commerce.de>
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
CC: xmlschema-dev@w3.org

Hi,

Henry S. Thompson wrote:
> Kasimier Buchcik <kbuchcik@4commerce.de> writes:
> 
> 
>>Hi,
>>
>>I have a question regarding the component constraint "Derivation Valid
>>(Restriction, Simple)" related to the draft Type Library at
>>"http://www.w3.org/2001/03/XMLSchema/TypeLibrary.xsd".
>>
>>We have the following definition in
>>"http://www.w3.org/2001/03/XMLSchema/TypeLibrary-nn-array.xsd" :
>>
>><xs:simpleType name="valuesType">
>>   <xs:list itemType="xs:anySimpleType" />
>></xs:simpleType>
> 
> 
> Yes, that's at best making assumptions in a grey area, and at worst
> wrong.
> 
> The introduction of anyAtomicType in the latest draft for version 1.1
> of W3C XML Schema http://www.w3.org/TR/xmlschema11-1/ would provide the clean solution.

But for an implementation of XML Schema 1.0 this is wrong, according to
the spec pieces provided with my previous mail, right? I wonder what
reasons Xerces-J and XSV have not to fire an error here. Is it just a
bug, or do those processors allow this, since the spec's restriction
would otherwise refuse to allow dearly needed definitions? So,
knowingly violating the spec?

Thanks,

Kasimier
Received on Thursday, 17 March 2005 09:50:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:49 GMT