]> git.evergreen-ils.org Git - Evergreen.git/commit
Protect URI reingest from failure due to malformed XML
authorDan Scott <dan@coffeecode.net>
Mon, 20 Jun 2011 14:56:44 +0000 (10:56 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 20 Jun 2011 15:54:35 +0000 (11:54 -0400)
commit81eda392949ab4945c5ab8363da75103d5ad00b1
treee11e0840725949b880de4280046beef6fdcf2f30
parent2e0b5c2672298063f49d036336edfdb0cc2b9868
Protect URI reingest from failure due to malformed XML

In an ideal world, there would be no malformed XML. But our world is the
real world of libraries, and while the well_formed_xml() protects
against malformed XML in Evergreen 2.0 systems, in some cases bad XML
has been able to find its way into Evergreen systems in the past.

A single biblio.record_entry row containing malformed XML in the marc
column will prevent the call to reingest URIs from succeeding. By
limiting the set of records to those with well-formed XML, we can
increase the chance of the URI reingest succeeding at the cost of more
processing time.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/2.0.6-2.0.7-upgrade-db.sql
Open-ILS/src/sql/Pg/upgrade/0559.schema.biblio.extract_located_uris.sql