[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Error and Fatal Error
- From: Andrew Welch <andrew.j.welch@gmail.com>
- To: stephengreenubl@gmail.com
- Date: Sat, 16 Jul 2011 18:35:23 +0100
> I hunted around the .Net framework hoping to find such
> a parser which allowed me to repair the XML but I couldn't
> find one.
The usual approach here is to reject the input as 'not xml' and then
go through some feedback loop with the supplier to correct their
non-xml. The next stage (if you have to) is to accept the feed with
its faults, and insert some preprocessor to tidy up the known issues.
One preprocessor could be to convert all bytes over 255 to character
refs, to work around encoding issues.
--
Andrew Welch
http://andrewjwelch.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]