Re: Exceptions due to control characters

2010-07-04 Thread David Bertoni
On 6/28/2010 7:32 AM, Mosa Yeung wrote: Hi guys, I've encountered a situation where I have control characters (in this case,) being written to xml and read back out for output. XMLFormatter was able to write it to the xml file without escaping it, but XMLSanner emits an 'XMLErrs::InvalidChara

RE: Exceptions due to control characters

2010-06-28 Thread John Lilley
I have encountered this as well. It seems that Xerces incorrectly allows characters to be formatted that it and other XML parsers will fail to parse. We've had to add a pre-filter to the text before it is added to the XML document, perhaps there is a better approach? john -Original Messag