Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM 1.1: XPath

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: Michael Kay <mike AT saxonica.com>
  • Cc: xom-interest AT lists.ibiblio.org, 'John Cowan' <jcowan AT reutershealth.com>
  • Subject: Re: [XOM-interest] XOM 1.1: XPath
  • Date: Fri, 07 Jan 2005 07:27:09 -0500

Michael Kay wrote:


Saxon now supports the JAXP 1.3 XPath API which should be thoroughly stable,
though it may not give you as much control as you want.

What are the JDK requirements for JAXP 1.3? Will it run in Java 1.2? 1.1?

Another option you have, of course, is to use the Saxon 6.5.3 XPath engine.
That's competely stable and highly conformant, and you could fork it if you
chose without serious risk. You could easily modify it to run directly on
XOM without a mapping layer. It also has the advantage, for your purposes,
of being far more self-contained than the 8.2 engine - In 8.2, XPath
expressions and XSLT instructions compile into a single integrated AST, and
you can no longer clearly separate the XPath runtime from the XSLT runtime.

I've thought about that. Is 6.5.3 adaptable to other object models? The last time I looked at it, it seemed that Saxon requires a custom DOM that has been annotated with the information it needs. You couldn't just pass in a Xerces DOM or a Crimson DOM. Was that incorrect?

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