Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Known parsers

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Steve Loughran <steve.loughran AT gmail.com>
  • To: Michael Kay <mike AT saxonica.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Known parsers
  • Date: Sat, 14 Feb 2009 20:52:26 +0000

On Fri, Feb 13, 2009 at 10:29 PM, Michael Kay <mike AT saxonica.com> wrote:
>
>>
>> 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.
>

thanks. I guess I could write the code to pull down every xerces
variant from the repository and test it, but that still leaves the JDK
problem. All I know is that JRockit on my desktop says no, though it
could be from a xerces variant sneaking into the CP

https://issues.apache.org/jira/browse/HADOOP-5254




Archive powered by MHonArc 2.6.24.

Top of Page