You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2014/09/17 18:54:34 UTC
[jira] [Resolved] (XMLSCHEMA-11) XmlSchemaChoice.getItems() should
probably return XmlSchemaChoiceMember instead of XmlSchemaObject.
[ https://issues.apache.org/jira/browse/XMLSCHEMA-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved XMLSCHEMA-11.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
Assignee: Daniel Kulp
> XmlSchemaChoice.getItems() should probably return XmlSchemaChoiceMember instead of XmlSchemaObject.
> ---------------------------------------------------------------------------------------------------
>
> Key: XMLSCHEMA-11
> URL: https://issues.apache.org/jira/browse/XMLSCHEMA-11
> Project: XmlSchema
> Issue Type: Question
> Affects Versions: XmlSchema 2.0
> Environment: Java :-)
> Reporter: Dmitry Repchevsky
> Assignee: Daniel Kulp
> Priority: Trivial
> Labels: API, changes
> Fix For: 2.2.0
>
> Attachments: ASF.LICENSE.NOT.GRANTED--fnroyOcPjyUAAAAASUVORK5CYII=
>
>
> XmlSchemaSequence.getItems() returns XmlSchemaSequenceMember. IMHO XmlSchemaChoice.getItems() should return XmlSchemaChoiceMember.
> Also XmlSchemaChoiceMember could inherit XmlSchemaObjectBase (as XmlSchemaSequenceMember does), so both XmlSchemaSequence.getItems() and XmlSchemaChoice.getItems() will return XmlSchemaObjectBase type that facilitates parsing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org