xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Michael Kay" <mike AT saxonica.com>
- To: "'Steve Loughran'" <steve.loughran AT gmail.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Known parsers
- Date: Fri, 13 Feb 2009 22:29:37 -0000
>
> Which raises a question: Which Java versions have parsers
> that ship with XInclude support? Do all Java6 releases, or
> was it one of the uX upgrades that fixed it? What about xerces proper?
>
I don't know whether the information is 100% reliable, but the comments in
the Saxon source code record my investigations a while ago:
// This feature name is supported in the version of Xerces
bundled with JDK 1.5
parser.setFeature("http://apache.org/xml/features/xinclude-aware", true);
// This feature name is supported in Xerces 2.9.0
parser.setFeature("http://apache.org/xml/features/xinclude",
true);
Saxon tries both and catches the exceptions if not supported.
The comments are silent on the question of JDK 1.6.
Michael Kay
Saxonica
-
Re: [XOM-interest] Known parsers,
Steve Loughran, 02/13/2009
-
Re: [XOM-interest] Known parsers,
Michael Kay, 02/13/2009
- Re: [XOM-interest] Known parsers, Steve Loughran, 02/14/2009
- Re: [XOM-interest] Known parsers, Elliotte Harold, 02/14/2009
-
Re: [XOM-interest] Known parsers,
Michael Kay, 02/13/2009
Archive powered by MHonArc 2.6.24.