ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIOM-443) StAX dialect detection fails on IBM JRE 1.7
Date Sun, 06 Jan 2013 14:48:12 GMT

    [ https://issues.apache.org/jira/browse/AXIOM-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545413#comment-13545413
] 

Hudson commented on AXIOM-443:
------------------------------

Integrated in ws-axiom-trunk #1338 (See [https://builds.apache.org/job/ws-axiom-trunk/1338/])
    AXIOM-443: Added DTDReader support for XLXP 1 to improve interoperability with IBM JREs.
(Revision 1429522)

     Result = SUCCESS
veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/util/stax/dialect/Scanner.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/util/stax/dialect/XLXP1DTDReaderImpl.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/util/stax/dialect/XLXP1StreamReaderWrapper.java

                
> StAX dialect detection fails on IBM JRE 1.7
> -------------------------------------------
>
>                 Key: AXIOM-443
>                 URL: https://issues.apache.org/jira/browse/AXIOM-443
>             Project: Axiom
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.2.14
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.15
>
>
> On IBM Java 1.7, Axiom fails to detect the dialect of the StAX implementation in the
JRE. It identifies the StAX implementation as SJSXP although it is XLXP. This then results
in the following error:
> Exception in thread "main" java.lang.IllegalArgumentException: The XMLInputFactory does
not recognize the property "reuse-instance".
>     at com.ibm.xml.xlxp.api.stax.msg.StAXMessageProvider.throwIllegalArgumentException(StAXMessageProvider.java:42)
>     at com.ibm.xml.xlxp.api.stax.XMLInputFactoryImpl.setProperty(XMLInputFactoryImpl.java:1870)
>     at org.apache.axiom.util.stax.dialect.SJSXPDialect.makeThreadSafe(SJSXPDialect.java:65)
>     at org.apache.axiom.om.util.StAXUtils$1.run(StAXUtils.java:454)
>     at java.security.AccessController.doPrivileged(AccessController.java:229)
>     at org.apache.axiom.om.util.StAXUtils.newXMLInputFactory(StAXUtils.java:427)
>     at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory_perClassLoader(StAXUtils.java:498)
>     at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:169)
>     at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:134)
>     at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:235)
>     at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:229)
> A workaround is to add Woodstox to the class path.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message