XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] BOM and encodings questions


> it is fairly easy to implement a parser that is able to handle
> alternating encoding that can support such cases, but I couldnít
> find this mentioned anywhere in the standard(s). 

It's not supported, each external entity must be in a single encoding.
If you use a text/xml mime type the encoding of the document might be
changed in transit by a text encoder that knows nothing about the xml
structure, so it would be very difficult to allow encoding switches mid
document, even if that were desired.

> I get to see a lot of XML documents that contain alternating encodings
> -- are they not well formed? 

They may not be well formed, or they may be well formed but refer to
characters that the author of the document did not intend.

David


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS