W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2010

Re: Are attribute values case sensitivite

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Tue, 21 Dec 2010 17:09:02 +0530
Message-ID: <AANLkTinZ_zR2xyvmUzHf+M8hh+Hpn5AyftmxbtWGpS3f@mail.gmail.com>
To: Shai Gotlib <Shai.Gotlib@amdocs.com>
Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
On Tue, Dec 21, 2010 at 4:22 PM, Shai Gotlib <Shai.Gotlib@amdocs.com> wrote:

>  I wondered whether attribute values are case sensitive.
>
> For example: are both expressions identical?
>
> ·         <xs:restriction base="xs:*S*tring">
>
> ·         <xs:restriction base="xs:string">
>
>

For XML Schema language xs:string is a valid schema type while xs:String
isn't. The XML Schema validator should be giving a schema component error,
when it would see xs:String for example.



-- 
Regards,
Mukul Gandhi
Received on Tuesday, 21 December 2010 11:39:56 UTC

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