Thorsten Goetzke created XMLBEANS-492: -----------------------------------------
Summary: 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 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-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: dev-h...@xmlbeans.apache.org