You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Dmitry Repchevsky (JIRA)" <ji...@apache.org> on 2011/09/21 11:52:09 UTC
[jira] [Reopened] (XMLSCHEMA-16) XmlSchemaSerializer doesn't
serialize union memberTypesQNames
[ https://issues.apache.org/jira/browse/XMLSCHEMA-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Repchevsky reopened XMLSCHEMA-16:
----------------------------------------
I am very sorry, my fault, but the order may be important in unions...
So the loop must be changed... :-(
> XmlSchemaSerializer doesn't serialize union memberTypesQNames
> -------------------------------------------------------------
>
> Key: XMLSCHEMA-16
> URL: https://issues.apache.org/jira/browse/XMLSCHEMA-16
> Project: XmlSchema
> Issue Type: Improvement
> Affects Versions: XmlSchema 2.0
> Environment: Java
> Reporter: Dmitry Repchevsky
> Assignee: Daniel Kulp
> Labels: patch
> Fix For: XmlSchema 2.0.1
>
> Attachments: union.patch, union_patch.diff
>
> Original Estimate: 0.05h
> Remaining Estimate: 0.05h
>
> The only way to define member types for an XmlSchemaSimpleTypeUnion is to define its "memberTypesSource" String.
> When a new XmlSchemaSimpleTypeUnion is created it must be possible to specify an array of QNames (memberTypesQNames).
> The problem is that elements specified in the "memberTypes" must be prefixed, but developer have no this information in a time of XmlSchemaSimpleTypeUnion creation.
> The patch creates memberTypes from provided memberTypesQNames when memberTypesSource is null.
--
This message is automatically generated by JIRA.
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