Thanks for pointing this out.

I just removed stax-utils from my local trunk, changed all instances of
BaseXMLInputFactory.newInstance() to XMLInputFactory.newInstance() and ran
test. All tests pass so I think we should be able to remove this jar from
our list of dependencies.

Anyhow, this change will only affect the next release which I *think* will
be 1.4.0. But if it all there is a 1.3.1, we can push this change.

Please raise an issue in jira for this.

On Mon, Nov 10, 2008 at 12:20 PM, Gunnar Wagenknecht <[EMAIL PROTECTED]
> wrote:

> Hi,
>
> I found out that the dependency on https://stax-utils.dev.java.net/
> comes down to two places where BaseXMLInputFactory.newInstance() is called.
>
> Is that intentionally or can those be replaced with
> XMLInputFactory.newInstance()?
>
> The method newInstance is not defined in BaseXMLInputFactory but in
> XMLInputFactory which comes from the JDK in Java 6. I don't know about
> Java 5, though.
>
> If it's because of Java 5 can I prepare a patch for using reflection to
> make the dependency on StAX Utils optional? The reason I'm asking is
> because I'm about to submit Solr 1.3 for IP review to the Eclipse
> Foundation because I want to use it in our Eclipse project. Lesser
> dependencies would make it easier. :)
>
> On a side note, is there a 1.3.1 release planned?
>
> -Gunnar
>
> --
> Gunnar Wagenknecht
> [EMAIL PROTECTED]
> http://wagenknecht.org/
>
>
>


-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to