Re: 0x19 is not a legal XML character
On 6/28/07, Abel Braaksma <abel.online@xxxxxxxxx> wrote:
True, but if I remember correctly, then all ISO-646 characters (the ancient ASCII ones, before 0x80) are written as is in UTF-8, all ISO-8859-x, CPxxx windows/dos encodings, TIS-620, Shift-JIS, GB2312 etc. The only notable exceptions are, I believe, the IBM EBCDIC encodings (but IBM500 is most often used, which has the End Of Medium right at 0x19 as well). None of these encodings, not even the EBCDIC ones, use the 0x19 for a diacritic.
Just trying to state that: I think it is very unlikely that encoding alone (read or write) will be the culprit here (which is often a culprit though for higher characters).
Of course, it can be valid content, in which case the XML documents should be opened as XML 1.1 documents.
agreed, just wanted to show how it can be done in XSLT, if you (the OP) felt a need for it.
:D :D Good design starts at the sources.
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