OK, sorry, we must have cross-posted, because this wasn't listed when I initially replied.
It does indeed appear that you have a possibly mal-formed XML file.
I should point out that those are probably not ASCII characters, unless the document specifically states such in the initial string... <?xml version="1.0" encoding="ISO-8859-1"?> AFAIK, it's usually UTF-8...
I would most certainly check with the source of your data, since it's possible the file is corrupt... Also, if this is common, they should be having probelms with whomever they're sending these files to.
With regards to pre-filtering, you want to be VERY careful with this. Isolate ONLY those characters that are causing the parser to barf & 1)try escaping them, 2)try commenting them out, and only if that doesn't work then 3)try replacing them with whitespace.
But since this is seemingly a question of mal-formedness, none of those approaches are sure to work...
In reply to Re: Re: Re: XML file won't parse properly
by gregor42
in thread XML file won't parse properly
by brpsss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |