[jboss-jira] [JBoss JIRA] (AS7-5504) XML schema; use of elementFormDefault='unqualified'; cannot validate some documents
Elias Ross (JIRA)
jira-events at lists.jboss.org
Fri Sep 7 01:33:32 EDT 2012
[ https://issues.jboss.org/browse/AS7-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elias Ross updated AS7-5504:
----------------------------
Attachment: jboss-deployment-structure.xml
Example document. If you view in Eclipse, 'p:deployment' is underlined. Fix by setting
elementFormDefault="unqualified"
in the XSD.
> XML schema; use of elementFormDefault='unqualified'; cannot validate some documents
> -----------------------------------------------------------------------------------
>
> Key: AS7-5504
> URL: https://issues.jboss.org/browse/AS7-5504
> Project: Application Server 7
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 7.1.1.Final
> Reporter: Elias Ross
> Attachments: jboss-deployment-structure.xml
>
>
> 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