Re: Schema in UTF-8 instance in UTF-16?

You cannot mix UTF-8 and UTF-16 in the same file. However, if I 
understand you correctly, you won't need to. The schema file can be in 
UTF-8 quite happily, and this in no way means that the instance needs to 
also be in UTF-8.

UTF-8 and UTF-16 are different ways of encoding the same numeric 
information. Therefore, just because your schema specifies tag names in 
UTF-8, it does not mean that your instance document needs to use the 
same encoding. As long as the encoding results in the same numeric 
information as defined in your schema, you're ok.

John

-- 
John Snelson, Software Engineer        +44-1865-203192
DecisionSoft Limited                   http://www.decisionsoft.com
XML Development and Services

Received on Thursday, 28 August 2003 12:05:11 UTC