[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] [Updated] (XMLBEANS-492) parse(XmlStreamReader) does sometimes not work properly
From:       "Thorsten Goetzke (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2012-10-30 15:22:15
Message-ID: 985812726.44883.1351610535342.JavaMail.jiratomcat () arcas
[Download RAW message or body]


     [ 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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic