Re: 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 couldnt > 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]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format