You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2011/04/20 22:38:06 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13022358#comment-13022358 ] 

Benson Margulies commented on XMLSCHEMA-11:
-------------------------------------------

I agree. Care to post a patch?

> 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
>            Priority: Trivial
>              Labels: API, changes
>
> 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 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