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

inst2xsd produces incorrect xsd for simple xml

    XMLWordPrintableJSON

    Details

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

      Description

      See attached file bug.xml. XSD file bug.xsd is generated by inst2xsd. Compare it with works_well.xml and generated works_well.xsd. Order of elements at given xml affects generated xsd.

        Attachments

        1. bug.xml
          0.2 kB
          Martin Slama
        2. bug.xsd
          0.8 kB
          Martin Slama
        3. works_well.xml
          0.2 kB
          Martin Slama
        4. works_well.xsd
          0.8 kB
          Martin Slama

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              martin-slama Martin Slama
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: