You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Thorsten Goetzke (JIRA)" <xm...@xml.apache.org> on 2012/10/30 15:56:12 UTC
[jira] [Updated] (XMLBEANS-492) StAX Incomptibility with Oracles
XmlStreamReader
[ https://issues.apache.org/jira/browse/XMLBEANS-492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Goetzke updated XMLBEANS-492:
--------------------------------------
Attachment: BeansBug.java
animal.xsd
> StAX Incomptibility with Oracles XmlStreamReader
> ------------------------------------------------
>
> Key: XMLBEANS-492
> URL: https://issues.apache.org/jira/browse/XMLBEANS-492
> Project: XMLBeans
> Issue Type: Bug
> Components: Validator, XmlObject
> Affects Versions: Version 2.4 , Version 2.6
> Environment: jdk.1.7.0_10
> Reporter: Thorsten Goetzke
> Attachments: animal.xsd, BeansBug.java
>
>
> Under some circumstances xmlbeans will 'forget' to create a namespace needed for the 'xsi:type'
> attribute. This happens after an XmlObject is created by XmlObject.parse(XmlStreamReader).
> This behaviour causes a NullpointerException in the Validation (amongst other unfortunate things).
> For some reason xmlbeans Jsr173-Stream works fine, while the XmlStreamReader obtained from the XmlInputFactory doesn't.
> I will attach a schema and a JUnitTest to reproduce this issue.
--
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@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org