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

inst2xsd produces incorrect xsd for simple xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Version 2.6
    • None
    • None
    • 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. works_well.xsd
          0.8 kB
          Martin Slama
        2. works_well.xml
          0.2 kB
          Martin Slama
        3. bug.xsd
          0.8 kB
          Martin Slama
        4. bug.xml
          0.2 kB
          Martin Slama

        Activity

          People

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

            Dates

              Created:
              Updated: