Remove dependency on StAX Utils or make it optional
---------------------------------------------------

                 Key: SOLR-851
                 URL: https://issues.apache.org/jira/browse/SOLR-851
             Project: Solr
          Issue Type: Wish
    Affects Versions: 1.3
            Reporter: Gunnar Wagenknecht


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.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to