Bug 1193543 - jboss-ejb3-spec-2_0.xsd is invalid
Summary: jboss-ejb3-spec-2_0.xsd is invalid
Keywords:
Status: CLOSED DUPLICATE of bug 1192591
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: EJB
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: David M. Lloyd
QA Contact: Jan Martiska
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-17 15:12 UTC by sgilda
Modified: 2019-10-10 09:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-07 22:07:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Referenced File Error Details for jboss-ejb3-spec-2_0.xsd errors on import (142.66 KB, image/png)
2015-02-17 15:14 UTC, sgilda
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2338041 0 None None None 2016-05-26 05:07:28 UTC

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 ***


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