ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (XMLSCHEMA-11) XmlSchemaChoice.getItems() should probably return XmlSchemaChoiceMember instead of XmlSchemaObject.
Date Sun, 08 May 2011 18:37:03 GMT

    [ https://issues.apache.org/jira/browse/XMLSCHEMA-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030524#comment-13030524
] 

Andreas Veithen commented on XMLSCHEMA-11:
------------------------------------------

As already pointed out in [1], having interfaces in org.apache.ws.commons.schema extend an
interface in org.apache.ws.commons.schema.utils doesn't sound correct.

BTW, Benson, you never replied to that objection.

[1] http://markmail.org/message/6ha4ktfeyme43mul

> 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
>         Attachments: 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 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


Mime
View raw message