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

Re: Case senstivity in enumerated values in an XSD ignored in the XML doc

From: George Cristian Bina <george@oxygenxml.com>
Date: Mon, 12 Mar 2007 12:06:22 +0200
Message-ID: <45F5261E.5050407@oxygenxml.com>
To: "Swayam Vemuri -X (swvemuri - WIPRO at Cisco)" <swvemuri@cisco.com>
Cc: xmlschema-dev@w3.org

There's a bug in the application that presents you that drop down.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Swayam Vemuri -X (swvemuri - WIPRO at Cisco) wrote:
> Hi,
> 
>  
> 
> I encountered a strange observation, as explained below
> 
>  
> 
> I have below in my schema
> 
>  
> 
> <java:simpleType name="JavaDataType">
> 
>                         <java:restriction base="java:string">
> 
>                                     <java:enumeration value="boolean"/>
> 
>                                     <java:enumeration value="Boolean"/>
> 
>                                     <java:enumeration value="double"/>
> 
>                                     <java:enumeration value="Double"/>
> 
>                         </java:restriction>
> 
> </java:simpleType>
> 
>  
> 
> Now in my xml I see the below in drop down
> 
>  
> 
> boolean
> 
> Boolean1
> 
> double
> 
> Double2
> 
>  
> 
> Can any one pl explain this. I was under the impression whatever I give 
> within
> 
> Doublequotes, will be shown as it is. But here Iam seeing the values are 
> getting modified
> 
> How can I stop this!!
> 
>  
> 
> Thanks,
> 
> Swayam
> 
Received on Monday, 12 March 2007 10:08:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:41 UTC