W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2011

Is every XML Schema validator guaranteed to support the same set of Unicode characters?

From: Costello, Roger L. <costello@mitre.org>
Date: Mon, 16 May 2011 14:54:07 -0400
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB50053F4E7F18@IMCMBX3.MITRE.ORG>
Hi Folks,

1. Is every XML Schema validator guaranteed to support the same set of Unicode characters? 

For example, will the set of characters expressed by this regex:

     [\d\D]

be the same regardless of the XML Schema validator?


2. Is every version of XML Schema guaranteed to support the same set of Unicode characters as all other versions?


3. Does XML determine the set of characters supported by XML Schema? That is, does XML Schema support the set of Unicode characters specified in the XML specification? 


4. If I use this regex in my XML Schema:

      [^0-9]*

Is there a risk that:

a. The set of strings described by the regex may vary, depending on the XML Schema validator (or an XML Schema application)?

b. With different versions of XML Schema (e.g., XML Schema 1.0, XML Schema 1.1) the regex may describe different sets of strings?



/Roger
Received on Monday, 16 May 2011 18:54:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 May 2011 18:54:36 GMT