Uploaded image for project: 'XmlSchema'
  1. XmlSchema
  2. XMLSCHEMA-11

XmlSchemaChoice.getItems() should probably return XmlSchemaChoiceMember instead of XmlSchemaObject.

Attach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Question
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • XmlSchema 2.0
    • 2.2.0
    • Java

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dkulp Daniel Kulp
            redmitry Dmitri Repchevsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment