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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • None

      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"

              Unassigned Unassigned
              genman_jira Elias Ross (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: