Bug 1193543

Summary: jboss-ejb3-spec-2_0.xsd is invalid
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: sgilda
Component: EJBAssignee: David M. Lloyd <david.lloyd>
Status: CLOSED DUPLICATE QA Contact: Jan Martiska <jmartisk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: lywang, wprice
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-07 22:07:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Referenced File Error Details for jboss-ejb3-spec-2_0.xsd errors on import none

Description sgilda 2015-02-17 15:12:38 UTC
Description of problem:

Importing the ejb-security-interceptors quickstart into JBDS results in the following jboss-ejb3.xml validation errors.

Referenced file contains errors (jar:file:/home/sgilda/tools/jbdevstudio/studio/plugins/org.jboss.tools.as.catalog_3.0.1.Final-v20141209-0156-B106.jar!/schema/xsd/jboss-ejb3-spec-2_0.xsd).  For more information, right click on the message in the Problems View and select "Show Details..."	jboss-ejb3.xml	/jboss-ejb-security-interceptors/src/main/resources/META-INF	line 1	XML Problem

1. The errors below were detected when validating the file "jboss-ejb3-spec-2_0.xsd" via the file "jboss-ejb3.xml".  In most cases these errors can be detected by validating "jboss-ejb3-spec-2_0.xsd" directly.  However it is possible that errors will only occur when jboss-ejb3-spec-2_0.xsd is validated in the context of jboss-ejb3.xml.

    I can't copy the text from the referenced file error details, so I will attach a screen shot.

2. cvc-complex-type.2.4.a: Invalid content was found starting with element 'jee:interceptor-binding'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":ejb-name}' is expected.	jboss-ejb3.xml	/jboss-ejb-security-interceptors/src/main/resources/META-INF	line 29	XML Problem

See quickstart Bug 1178748.

The source for the jboss-ejb3.xml file is located here: https://github.com/jboss-developer/jboss-eap-quickstarts/blob/6.4.x-develop/ejb-security-interceptors/src/main/resources/META-INF/jboss-ejb3.xml

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 sgilda 2015-02-17 15:14:09 UTC
Created attachment 992736 [details]
Referenced File Error Details for jboss-ejb3-spec-2_0.xsd errors on import

It is not possible to copy and paste the error text, so this is a screen shot of the error details.

Comment 2 Weston M. Price 2015-05-07 22:07:48 UTC
This appears to be a duplicate, or at the very least, the same issue as we are seeing with BZ-1192591

*** This bug has been marked as a duplicate of bug 1192591 ***