Add xml_is_well_formed, xml_is_well_formed_document, xml_is_well_formed_content

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a0b7b717a4324f573d3a7651a06037557066eb77
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-08-13T18:36:26Z
Releases: 9.1.0
Add xml_is_well_formed, xml_is_well_formed_document, xml_is_well_formed_content
functions to the core XML code.  Per discussion, the former depends on
XMLOPTION while the others do not.  These supersede a version previously
offered by contrib/xml2.

Mike Fowler, reviewed by Pavel Stehule

Files