You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by di...@apache.org on 2006/08/09 16:04:14 UTC

svn commit: r430057 - in /webservices/commons/trunk/modules/axiom: pom.xml project.properties src/org/apache/axiom/om/util/StAXUtils.java

Author: dims
Date: Wed Aug  9 07:04:11 2006
New Revision: 430057

URL: http://svn.apache.org/viewvc?rev=430057&view=rev
Log:
Fix for WSCOMMONS-70 - AXIOM does not specify the classloader used to locate StAX implementation

Modified:
    webservices/commons/trunk/modules/axiom/pom.xml
    webservices/commons/trunk/modules/axiom/project.properties
    webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/util/StAXUtils.java

Modified: webservices/commons/trunk/modules/axiom/pom.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/pom.xml?rev=430057&r1=430056&r2=430057&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/pom.xml Wed Aug  9 07:04:11 2006
@@ -363,7 +363,7 @@
     <dependency>
       <groupId>stax</groupId>
       <artifactId>stax-api</artifactId>
-      <version>1.0</version>
+      <version>1.0.1</version>
       <scope>compile</scope>
     </dependency>
     <dependency>

Modified: webservices/commons/trunk/modules/axiom/project.properties
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/project.properties?rev=430057&r1=430056&r2=430057&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/project.properties (original)
+++ webservices/commons/trunk/modules/axiom/project.properties Wed Aug  9 07:04:11 2006
@@ -55,7 +55,7 @@
 jaxen.version=1.1-beta-7
 junit.version=3.8.1
 log4j.version=1.2.12
-stax.api.version=1.0
+stax.api.version=1.0.1
 xmlunit.version=1.0
 xml_apis.version=1.3.02
 stax.impl.groupid=woodstox

Modified: webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/util/StAXUtils.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/util/StAXUtils.java?rev=430057&r1=430056&r2=430057&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/util/StAXUtils.java (original)
+++ webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/util/StAXUtils.java Wed Aug  9 07:04:11 2006
@@ -37,7 +37,7 @@
         if (!xmlInputFactoryPool.empty()) {
             return (XMLInputFactory) xmlInputFactoryPool.pop();
         }
-        return XMLInputFactory.newInstance();
+        return XMLInputFactory.newInstance("javax.xml.stream.XMLInputFactory", StAXUtils.class.getClassLoader());
     }
 
     /**
@@ -94,7 +94,7 @@
         if (!xmlOutputFactoryPool.empty()) {
             return (XMLOutputFactory) xmlOutputFactoryPool.pop();
         }
-        return XMLOutputFactory.newInstance();
+        return XMLOutputFactory.newInstance("javax.xml.stream.XMLOutputFactory", StAXUtils.class.getClassLoader());
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org