W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2002

Checking a UTF-16 instance against a UTF-8 Schema

From: Mark Feblowitz <mfeblowitz@frictionless.com>
Date: Mon, 1 Jul 2002 16:44:50 -0400
Message-ID: <4DBDB4044ABED31183C000508BA0E97F040ABD0E@fcpostal.frictionless.com>
To: "Xmlschema-Dev (E-mail)" <xmlschema-dev@w3.org>

Probably a FAQ, but not one I've encountered.

Can all available validating parsers validate an XML instance represented in
UTF-16 against an XML Schema represented in UTF-8? 

Would anything special need to be done to achieve the validation, or would
it suffice for each of them to have their encodings appropriately indicated?

The intent here is to use a given Schema, represented in UTF-8, to validate
an instance document that uses the same element and attribute labels, yet
the element and/or attribute content requires UTF-16, e.g., strings
containing accented French.

Anything special I need to be aware of?



Mark Feblowitz                                   	
XML Architect
       [t]   617.715.7231                                     	
       [f]   617.495.0188
Frictionless Commerce Incorporated 	
       [e]  mfeblowitz@frictionless.com <mailto:mfeblowitz@frictionless.com>

       [w] http://www.frictionless.com <http://www.frictionless.com> 
       [m] 400 Technology Square, 9th Floor
             Cambridge, MA 02139 
Open Applications Group Incorporated
       [e]  mfeblowitz@openapplications.org
       [w] http://www.openapplications.org <http://www.openapplications.org>
Received on Monday, 1 July 2002 16:45:23 UTC

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