- From: Pete Cordell <petexmldev@codalogic.com>
- Date: Tue, 21 Dec 2010 11:28:58 -0000
- To: "Shai Gotlib" <Shai.Gotlib@amdocs.com>, <xmlschema-dev@w3.org>
XML will preserve the case when presenting attribute values to the application. I suppose the application could decide whether it's case sensitive or not. If your application is an XML Schema parser, then it is case-sensitive. Things like xs:string are QNames, where the 'string' part of the name is a local name, which matches an element name, and element names in XML are case sensitive. Try looking in the XML 1.0 spec for a statement on that. HTH, Pete Cordell Codalogic Ltd Interface XML to C++ the easy way using C++ XML data binding to convert XSD schemas to C++ classes. Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com for more info ----- Original Message ----- From: "Shai Gotlib" <Shai.Gotlib@amdocs.com> To: <xmlschema-dev@w3.org> Sent: Tuesday, December 21, 2010 10:52 AM Subject: Are attribute values case sensitivite Hi, I wondered whether attribute values are case sensitive. For example: are both expressions identical? * <xs:restriction base="xs:String"> * <xs:restriction base="xs:string"> In general my question is what is case sensitive and what is not in XML and specifically in XML schema. I found that Peter Flynn wrote that XML is all case sensitive (http://xml.silmaril.ie/authors/case/) I will really appreciate if someone will give me the answer with references from the relevant specification. Thanks in advance, Shai This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp
Received on Tuesday, 21 December 2010 11:29:21 UTC