[
https://issues.apache.org/jira/browse/XMLSCHEMA-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved XMLSCHEMA-16.
----------------------------------
Resolution: Fixed
New patch applied. Thanks.
> 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: [email protected]
For additional commands, e-mail: [email protected]