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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Version 2.6
    • None
    • Samples
    • 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

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

            Dates

              Created:
              Updated: