xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48741] javax.xml.stream.XMLOutputFactory should not depend on woodstox/WstxOutputFactory
Date Sun, 07 Mar 2010 04:44:49 GMT

Michael Glavassevich <mrglavas@ca.ibm.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #4 from Michael Glavassevich <mrglavas@ca.ibm.com> 2010-03-07 04:44:47 UTC
This is no different than any of the other JAXP factories, each of which
nominate a default implementation when none could be found through its search
mechanism. If you merely place xml-apis.jar in the endorsed directory of a Sun
JDK you'll also get errors about not being able to find Xerces or Xalan.

The Apache distribution has its own set of defaults which may be different from
some other platform's. They were chosen intentionally, in this case to point to
the ASL licensed StAX implementation used by Apache projects which I could
argue is a far more appropriate value than Sun's proprietary implementation
(which only exists in their JDK).

If you put xml-apis.jar in the endorsed directory you also need a JAXP / StAX
implementation on your classpath. These will be picked up through the
META-INF/services files in their jars.

There is no bug here.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message