Re: Recovering from errors in an XML "stream"
Liam R E Quin <[email protected]> Tue, 10 Sep 2019 00:19:56 -0400
| Newsgroups | gmane.comp.gnome.lib.xml.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2019-09-09 at 22:41 -0400, Webb Scales wrote: > the > fact remains that I don't control the text that I'm trying to parse, > and I still need to parse it, even though it's not "well-formed". You may need to write some form of pre-processor that fixes the problems. As you say, that may reduce the need for an XML parser. I haven't investigated error recovery with libxml, so someone else might have better ideas. Liam -- Liam Quin, https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Web slave for vintage clipart http://www.fromoldbooks.org/