Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] xpointer

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: Greg Saunders <saundersgreg AT hotmail.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] xpointer
  • Date: Mon, 06 Dec 2004 13:11:37 -0500

Here's what I think is happening, though I'm only 90% sure.

Xerces only reports attribute types through the SAX interface that are identified by the DTD, not any other schema. Therefore it does not tell XOM that the id attribute has type ID. Therefore the XPointer support in XOM does not find it.

XOM and XInclude both operate on the infoset. Schema validation produces a post-schema validation infoset which XOM never sees or pays any attention to.

To have your IDs recognized for XInclusion you need to identify with a DTD, not a schema.

--
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