[jboss-jira] [JBoss JIRA] (WFLY-4260) Schema validation errors against jboss-service_7_0.xsd
Carlo de Wolf (JIRA)
issues at jboss.org
Fri Aug 28 03:28:05 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlo de Wolf updated WFLY-4260:
--------------------------------
Description:
When you import a quickstart containing a jboss-service.xml file, you get the following XML:
cvc-complex-type.2.3: Element 'attribute' cannot have character [children], because the type's content type is element-only.
The quickstart source is located here:
https://github.com/jboss-developer/jboss-eap-quickstarts/tree/6.4.x/helloworld-mbean
I searched the https://github.com/jbossas/jboss-eap/ source code for other jboss-service.xml examples, and found a few with syntax similar to what the quickstarts use:
* sar/src/test/resources/test/serviceXmlDeployment.jar/META-INF/jboss-service.xml
* testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/sar/injection/jboss-service.xml
* testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/sar/jboss-service.xml
* arquillian/container-managed/src/test/resources/sar-example.sar/META-INF/jboss-service.xml
* arquillian/container-remote/src/test/resources/sar-example.sar/META-INF/jboss-service.xml
There seems to be an error in the schema:
http://www.jboss.org/schema/jbossas/jboss-service_7_0.xsd
The quickstart bug is located here: https://bugzilla.redhat.com/show_bug.cgi?id=1178782
was:
When you import a quickstart containing a jboss-service.xml file, you get the following XML:
cvc-complex-type.2.3: Element 'attribute' cannot have character [children], because the type's content type is element-only.
The quickstart source is located here:
https://github.com/jboss-developer/jboss-eap-quickstarts/tree/6.4.x-develop/helloworld-mbean
I searched the https://github.com/jbossas/jboss-eap/ source code for other jboss-service.xml examples, and found a few with syntax similar to what the quickstarts use:
* sar/src/test/resources/test/serviceXmlDeployment.jar/META-INF/jboss-service.xml
* testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/sar/injection/jboss-service.xml
* testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/sar/jboss-service.xml
* arquillian/container-managed/src/test/resources/sar-example.sar/META-INF/jboss-service.xml
* arquillian/container-remote/src/test/resources/sar-example.sar/META-INF/jboss-service.xml
There seems to be an error in the schema:
http://www.jboss.org/schema/jbossas/jboss-service_7_0.xsd
The quickstart bug is located here: https://bugzilla.redhat.com/show_bug.cgi?id=1178782
> Schema validation errors against jboss-service_7_0.xsd
> -------------------------------------------------------
>
> Key: WFLY-4260
> URL: https://issues.jboss.org/browse/WFLY-4260
> Project: WildFly
> Issue Type: Bug
> Reporter: Sande Gilda
> Assignee: Tomas Hofman
>
> When you import a quickstart containing a jboss-service.xml file, you get the following XML:
> cvc-complex-type.2.3: Element 'attribute' cannot have character [children], because the type's content type is element-only.
> The quickstart source is located here:
> https://github.com/jboss-developer/jboss-eap-quickstarts/tree/6.4.x/helloworld-mbean
> I searched the https://github.com/jbossas/jboss-eap/ source code for other jboss-service.xml examples, and found a few with syntax similar to what the quickstarts use:
> * sar/src/test/resources/test/serviceXmlDeployment.jar/META-INF/jboss-service.xml
> * testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/sar/injection/jboss-service.xml
> * testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/sar/jboss-service.xml
> * arquillian/container-managed/src/test/resources/sar-example.sar/META-INF/jboss-service.xml
> * arquillian/container-remote/src/test/resources/sar-example.sar/META-INF/jboss-service.xml
> There seems to be an error in the schema:
> http://www.jboss.org/schema/jbossas/jboss-service_7_0.xsd
> The quickstart bug is located here: https://bugzilla.redhat.com/show_bug.cgi?id=1178782
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list