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

List:       xmlbeans-dev
Subject:    [jira] [Created] (XMLBEANS-492) StAX Incomptibility with Oracles XmlStreamReader
From:       "Thorsten Goetzke (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2012-10-30 14:54:12
Message-ID: 1483071509.44771.1351608852790.JavaMail.jiratomcat () arcas
[Download RAW message or body]

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-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