[PATCH v2 0/3] util/xml: make xml parser error reporting less terrible

Daniel P. Berrangé posted 3 patches 1 year, 3 months ago
Failed in applying to current master (apply log)
src/util/virxml.c                             | 29 +++++++++++++------
.../broken-xml-invalid.x86_64-latest.err      |  4 +--
.../nonexistent-file.x86_64-latest.err        |  2 +-
3 files changed, 23 insertions(+), 12 deletions(-)
[PATCH v2 0/3] util/xml: make xml parser error reporting less terrible
Posted by Daniel P. Berrangé 1 year, 3 months ago
libxml2 has terrible error reporting when failing to open files, which
has led to significant wasted time on wild goose chases. This improves
it by taking libxml2 out of the business of opening & reading files.

Daniel P. Berrangé (3):
  util/xml: fix extraction of XML context
  util/xml: don't assume libxml2 has the filename of the document
  util/xml: open XML files before calling libxml2

 src/util/virxml.c                             | 29 +++++++++++++------
 .../broken-xml-invalid.x86_64-latest.err      |  4 +--
 .../nonexistent-file.x86_64-latest.err        |  2 +-
 3 files changed, 23 insertions(+), 12 deletions(-)

-- 
2.46.0