[
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
> parse(XmlStreamReader) does sometimes not work properly
> -------------------------------------------------------
>
> 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).
> This can be triggered by a save-load circle.
> 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: [email protected]
For additional commands, e-mail: [email protected]