You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xml-commons-dev@xerces.apache.org by bu...@apache.org on 2010/03/07 05:44:49 UTC

DO NOT REPLY [Bug 48741] javax.xml.stream.XMLOutputFactory should not depend on woodstox/WstxOutputFactory

https://issues.apache.org/bugzilla/show_bug.cgi?id=48741

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

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

--- Comment #4 from Michael Glavassevich <mr...@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.