Bug 1183165 - (6.4.z) Schema validation errors against jboss-service_7_0.xsd
Summary: (6.4.z) Schema validation errors against jboss-service_7_0.xsd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: unspecified, Server
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.15
Assignee: Tomas Hofman
QA Contact: Jiri Truhlar
eap-docs
URL:
Whiteboard:
Depends On:
Blocks: eap6415-payload
TreeView+ depends on / blocked
 
Reported: 2015-01-16 21:59 UTC by sgilda
Modified: 2017-05-19 08:10 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-05-19 08:10:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-4260 0 Major Closed Schema validation errors against jboss-service_7_0.xsd 2020-12-02 00:32:48 UTC

Description sgilda 2015-01-16 21:59:43 UTC
Description of problem:



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 is related to: https://issues.jboss.org/browse/WFLY-4260

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Tomas Hofman 2015-07-17 13:06:13 UTC
PR: https://github.com/jbossas/jboss-eap/pull/2481

Comment 3 sgilda 2015-10-15 17:47:51 UTC
@thofman: 

I can see that WFLY-4260 was merged, but https://github.com/jbossas/jboss-eap/pull/2481 is still open. 

Do you know the status?

Also, will you be able to follow through and see that the corrected schema is published?

Comment 4 Tomas Hofman 2015-10-16 08:35:21 UTC
@sgilda the current situation is such that only BZs with customer cases are considered for CP releases, so I'm not sure if this one can make it. It will be part of EAP7 however.

I will see what I can do about publishing the updated XSD - I presume you want to see it here: http://www.jboss.org/schema/jbossas/jboss-service_7_0.xsd ?

Comment 5 sgilda 2015-10-16 13:01:07 UTC
@thofman, That would be great! Thanks!

Comment 6 Mike McCune 2016-03-28 23:39:55 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 7 Michael Cada 2017-04-26 13:12:16 UTC
Verified with EAP 6.4.15.CP.CR2

Comment 8 Petr Penicka 2017-05-19 08:10:01 UTC
Released on May 18 as part of EAP 6.4.15.


Note You need to log in before you can comment on or make changes to this bug.