[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Is there a W3C document that states the requirements on all XMLapplicati

  • From: "Costello, Roger L." <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Fri, 18 Jan 2013 10:48:43 +0000

Is there a W3C document that states the requirements on all XMLapplicati
Hi Folks,

Issue: document #1 specifies encoding="A". It processes document #2, which specifies encoding="B". There is a character encoding mismatch. Encoding conversion is required.

Definition: an "XML application" is an application that processes XML documents. Examples of XML applications include XML parsers and XSLT processors and XML Schema validators.

Question: does the W3C have an over-arching document that gives the requirements on all XML applications with respect to character encoding conversion requirements  when there are encoding mismatches?

Here are a few places where character encoding conversion is needed due to encoding mismatches:

1. An XML document specifies encoding="A" and it contains an external ENTITY reference to a document that has encoding="B". The XML parser must recognize this mismatch and convert the character encoding of the external document into the character encoding of the XML document. 

    Or perhaps the XML document is converted to the 
    character encoding of the external document?

2. An XSLT document specifies encoding="A" and its input document has encoding="B". The XSLT processor must recognize this mismatch and convert the character encoding of the input document into the character encoding of the XSLT document.

    Or perhaps the XSLT document is converted to the 
    character encoding of the input document?

3. An XML document specifies encoding="A" and is validated against an XML Schema that has encoding="B". The XML Schema validator must recognize this mismatch and convert the character encoding of the XML document into the character encoding of the XML Schema document. 

    Or perhaps the XML Schema document is converted 
    to the character encoding of the XML document?

Can you think of other examples where character encoding mismatches may occur and conversion is necessary?

This issue is broader in scope than just XML, as it concerns all XML applications. So I would not expect to see the XML specification to address this issue. I would expect an over-arching uber-document to address this. Is there such a document? 

/Roger


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.