[jboss-jira] [JBoss JIRA] (JBMETA-367) CLONE - XML schema; use of elementFormDefault='unqualified'; cannot validate some documents

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Aug 19 05:49:26 EDT 2013


     [ https://issues.jboss.org/browse/JBMETA-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen moved WFLY-1897 to JBMETA-367:
--------------------------------------------------

              Project: JBoss Metadata  (was: WildFly)
                  Key: JBMETA-367  (was: WFLY-1897)
             Workflow: jira  (was: GIT Pull Request workflow )
    Affects Version/s:     (was: 8.0.0.Alpha3)
          Component/s:     (was: Documentation)
             Security: Public
        Fix Version/s:     (was: 8.0.0.Beta1)

    
> CLONE - XML schema; use of elementFormDefault='unqualified'; cannot validate some documents
> -------------------------------------------------------------------------------------------
>
>                 Key: JBMETA-367
>                 URL: https://issues.jboss.org/browse/JBMETA-367
>             Project: JBoss Metadata
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Elias Ross
>
> 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" 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list