Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-513

SampleXmlUtil.processChoice() does not honor xs:choice boundaries

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Version 2.6
    • Fix Version/s: None
    • Component/s: Samples
    • Labels:
      None

      Description

      When generating a sample for an XSD making use of xs:choice. SampleXmlUtil does not consider the boundaries of the choice, but in fact generate an instance of every element in the choice. This leads to invalid XML, depending on the value of the minOccurs and maxOccurs.

      http://www.w3schools.com/schema/el_choice.asp

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vroldanbet Victor Roldan Betancort
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: