Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Inconsistent xml:id sanity checks

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Inconsistent xml:id sanity checks
  • Date: Mon, 20 Mar 2006 10:37:47 -0500

Wolfgang Hoschek wrote:
There's an inconsistency between the xml:id sanity checks used by 1) new Attribute(...) and 2) Attribute.build(...).
This is apparent when trying to parse the test files XOM/data/xmlid/ tests/001_normalize.xml and XOM/data/xmlid/tests/011_ok from the XOM testsuite via a non-validating XOM Builder. These files parse fine when using the (trusted) path 1:

On further inspection of the test suite catalog document, the problem is definitely that the build method isn't properly checking xml:id values. This case is listed as an error condition, and I had missed that. I'm fixing it now.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page