You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Dan Diephouse (JIRA)" <xm...@xml.apache.org> on 2005/11/08 01:03:19 UTC
[jira] Commented: (XMLBEANS-222) new XmlStreamReader from XmlObject doesn't capture xsi namespace in outer element
[ http://issues.apache.org/jira/browse/XMLBEANS-222?page=comments#action_12356993 ]
Dan Diephouse commented on XMLBEANS-222:
----------------------------------------
Yah, to be clear, if you get a Reader one of the child elements in the document (say the soap:Body), it creates an xsi namespace on the document. If you get an XMLStreamReader, it doesn't generate an xsi namespace.
This is breaking things in XFire (http://xfire.codehaus.org) - any chance that someone can fix this in CVS sometime soon?
> new XmlStreamReader from XmlObject doesn't capture xsi namespace in outer element
> ---------------------------------------------------------------------------------
>
> Key: XMLBEANS-222
> URL: http://issues.apache.org/jira/browse/XMLBEANS-222
> Project: XMLBeans
> Type: Bug
> Components: XmlObject
> Versions: Version 2
> Environment: jdk 1.4.2_08, xmlbeans 2.0
> Reporter: Brian Bonner
> Attachments: XmlStreamReaderTest.java
>
> I'll attach a test case.
> I'm parsing a SOAP envelope which has the xsi namespace declared in the outer envelope. An element of the body uses the prefix for one of it's attributes (i.e. xsi:nil="true").
> reader.getNamespaceCount() doesn't seem to find it. If we create the XMLStream from a reader using an InputFactory (vs. using the creator from JSR173.class, it works, but will probably be slower.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
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