[
https://issues.jboss.org/browse/WFLY-943?page=com.atlassian.jira.plugin.s...
]
Radoslav Husar commented on WFLY-943:
-------------------------------------
Looking at the source code, it looks like the JPA one is never used?
{noformat}
jpa/core/src/main/java/org/jboss/as/jpa/processor/JPAJarJBossAllParser.java:
public static final QName ROOT_ELEMENT = new
QName("http://www.jboss.com/xml/ns/javaee", "jboss-jpa");
{noformat}
Ouch. And if we were to fix that we would have to keep the backward compatibility..
XML schema; use of elementFormDefault='unqualified'; cannot
validate some documents
-----------------------------------------------------------------------------------
Key: WFLY-943
URL:
https://issues.jboss.org/browse/WFLY-943
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Documentation
Affects Versions: 8.0.0.Alpha3
Reporter: Elias Ross
Assignee: Radoslav Husar
Fix For: 8.0.0.Final
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