Re: [xml] Recovering from errors in an XML "stream"
- From: Liam R E Quin <liam holoweb net>
- To: Webb Scales <webb ursasecure com>, xml gnome org
- Subject: Re: [xml] Recovering from errors in an XML "stream"
- Date: Tue, 10 Sep 2019 00:19:56 -0400
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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]