Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-367

CLONE - XML schema; use of elementFormDefault='unqualified'; cannot validate some documents

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When attempting to write a (seemingly) valid jboss-deployment-structure.xml using the schema in ./docs, my document fails to validate.

      This is because of the settings used in the XSD. Have these XSDs been used to validate actual documents? By setting unqualified to 'qualified' then the documents will probably validate.

      $ git grep elementFormDefault..unqualified
      jboss-deployment-dependencies-1_0.xsd: elementFormDefault="unqualified"
      jboss-deployment-structure-1_0.xsd: elementFormDefault="unqualified"
      jboss-deployment-structure-1_1.xsd: elementFormDefault="unqualified"
      jboss-deployment-structure-1_2.xsd: elementFormDefault="unqualified"
      jboss-ejb-client_1_0.xsd: elementFormDefault="unqualified"
      jboss-ejb-client_1_1.xsd: elementFormDefault="unqualified"
      jboss-ejb-client_1_2.xsd: elementFormDefault="unqualified"
      jboss-jpa_1_0.xsd: elementFormDefault="unqualified"

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  genman Elias Ross
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated: