SAXONICA

Saxon Documentation
Full Contents
About Saxon
Changes in this Release
» | Version 8.9 (2007-02-12)
| Version 8.8 (2006-09-05)
| Version 8.7.3 (2006-06-13)
| Version 8.7.2 (2006-04-19)
| Version 8.7.1 (2006-04-13)
| Version 8.7 (2006-02-24)
| Version 8.6.1 (24 November 2005)
| Version 8.6 (3 November 2005)
| Version 8.5.1 (26 August 2005)
| Version 8.5 (2 August 2005)
| Version 8.4 (4 April 2005)
| Version 8.3 (11 February 2005)
| Version 8.2 (21 December 2004)
| Version 8.1.1 (8 October 2004)
| Version 8.1 (24 September 2004)
| Version 8.0 (1 June 2004)
Conditions of Use
Using XSLT 2.0
Using XQuery
Handling Source Documents
XML Schema Processing
XPath API for Java
Saxon on .NET
Extensibility
Saxon Extensions
Sample Saxon Applications
The Saxon SQL Extension
XSLT Elements
XPath 2.0 Expression Syntax
Function Library
Standards Conformance

# DOM and XOM interfaces

In the DOM interface (package `net.sf.saxon.dom`) Saxon now has compile-time dependencies on methods that are only available in DOM level 3, that is, in JDK 1.5 or JAXP 1.3. This puts the DOM package in the same situation as the XPath package: if you want to use Saxon's DOM interface, you need to use JDK 1.5 or the JAXP 1.3 package installed over JDK 1.4.

The Saxon code as issued is compiled under JDK 1.4, but using the JAXP 1.3 versions of the JAXP and DOM interfaces. If you want to recompile the Saxon code (for example to apply patches) then you can either recompile it under JDK 1.5 (in which case it will only run under JDK 1.5), or you can recompile it under JDK 1.4, in which case you will need to install the JAXP 1.3 versions of the `dom.jar` and `jaxp-api.jar` JAR files in `%java%/jre/lib/endorsed` to ensure that they are chosen in preference to the versions packaged with the JDK.

In the XOM interface, IDREF attributes are now recognized, so the `idref()` function now works correctly.

Next