« You need pictures | Main | Why aren't we using humans as robots? »

Comments

Tue

Hey,

Did you ever find a solution to your problem?
im choking on the same error - and are kinda close to getting crazy over that "illigal char" problemo....

/Tue

Pete Warden

I'm still seeing this error occasionally, though adding the explicit character set at the start made almost all the problems go away.

I did also find this thread discussing the correct way to handle illegal characters:
http://www.stylusstudio.com/xmldev/200108/post40600.html

Their reasoning makes sense for ASCII control characters, but I seem to hit this mostly with expanded character set values. I agree, it's annoying to both have no way to sanitize the input before processing, or have the parser ignore bad values.

One option I may look at is binary-izing my text data, but that loses the readability advantage of XML.

I have an update to this post at
http://petewarden.typepad.com/searchbrowser/2008/05/how-to-fix-ille.html

The comments to this entry are closed.