[jboss-jira] [JBoss JIRA] (WFLY-4260) Schema validation errors against jboss-service_7_0.xsd

Sande Gilda (JIRA) issues at jboss.org
Fri Jan 16 16:36:49 EST 2015


Sande Gilda created WFLY-4260:
---------------------------------

             Summary: 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: Jason Greene


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




--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list