You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2012/04/02 18:41:22 UTC
[jira] [Commented] (XMLSCHEMA-23) Namespace declarations for
extensor attributes are lost
[ https://issues.apache.org/jira/browse/XMLSCHEMA-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244314#comment-13244314 ]
Hudson commented on XMLSCHEMA-23:
---------------------------------
Integrated in xmlschema-trunk-jdk15 #20 (See [https://builds.apache.org/job/xmlschema-trunk-jdk15/20/])
[XMLSCHEMA-23] Fix issues with namespace declarations not being
preserved on anything other than the top level element (Revision 1308396)
Result = SUCCESS
dkulp :
Files :
* /webservices/xmlschema/trunk/xmlschema-core/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java
* /webservices/xmlschema/trunk/xmlschema-core/src/test/java/tests/ExternalAttTest.java
* /webservices/xmlschema/trunk/xmlschema-core/src/test/java/tests/ext/PlainExtensionDeserializerTest.java
* /webservices/xmlschema/trunk/xmlschema-core/src/test/resources/XMLSCHEMA-23
* /webservices/xmlschema/trunk/xmlschema-core/src/test/resources/XMLSCHEMA-23/test.xsd
> Namespace declarations for extensor attributes are lost
> -------------------------------------------------------
>
> Key: XMLSCHEMA-23
> URL: https://issues.apache.org/jira/browse/XMLSCHEMA-23
> Project: XmlSchema
> Issue Type: Bug
> Affects Versions: XmlSchema 2.0.1
> Reporter: Daniel Kulp
> Assignee: Daniel Kulp
> Fix For: 2.0.2
>
>
> If you have a schema type like:
> {code}
> <xsd:complexType name="File">
> <xsd:sequence>
> <xsd:element xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
> name="content" xmime:expectedContentTypes="application/octet-stream"
> type="xsd:base64Binary" />
> </xsd:sequence>
> </xsd:complexType>
> {code}
> when you parse and then recreate the Document, the resulting DOM tree has the xmime:expectedContentTypes attribute defined in it, but no namespace declaration for the xmime prefix.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org