[jbosstools-issues] [JBoss JIRA] (JBIDE-20536) Several quickstarts fail; jboss-ejb3-2_0.xsd cannot resolve jboss elements

Alexey Kazakov (JIRA) issues at jboss.org
Thu Jun 2 18:28:00 EDT 2016


     [ https://issues.jboss.org/browse/JBIDE-20536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-20536:
-----------------------------------
    Fix Version/s: 4.4.x
                       (was: 4.4.0.Final)


> Several quickstarts fail; jboss-ejb3-2_0.xsd  cannot resolve jboss elements
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-20536
>                 URL: https://issues.jboss.org/browse/JBIDE-20536
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: server, upstream
>            Reporter: Rob Stryker
>              Labels: xml_validation_quickstarts_eap7, xml_validation_quickstarts_wildfly, xml_validation_schema_error
>             Fix For: 4.4.x
>
>
> Several errors fail with the following error message:
> Referenced file contains errors (file:/home/rob/code/fuseide/fuseide/targetplatform/target/org.fusesource.ide.targetplatform.target.repo/../../../../../jbtools/github/jbosstools-server/as/plugins/org.jboss.tools.as.catalog/schema/xsd/jboss-ejb3-2_0.xsd).  For more information, right click on the message in the Problems View and select "Show Details..."
> The schema seems to fail to resolve any elements that have 'jboss' in them, for example:
> {code} 
>   <xs:element name="enterprise-beans" type="javaee:jboss-enterprise-beansType"/>
> {code}
> When looking at the entire xsd space, I see no attempt to reference or import any remote schema or any jboss schema url or namespace. 
> The offending schema file is here:
> {code}<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
>            targetNamespace="http://www.jboss.com/xml/ns/javaee"
>            xmlns="http://www.jboss.com/xml/ns/javaee"
>            xmlns:javaee="http://java.sun.com/xml/ns/javaee"
>            elementFormDefault="qualified"
>            attributeFormDefault="unqualified"
>            version="2.0">
>    <!-- xs:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="ejb-jar_3_1.xsd"/ -->
>    <!-- xs:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"/ -->
>    <xs:import namespace="http://java.sun.com/xml/ns/javaee"/>
>    <xs:element name="ejb" type="javaee:jboss-ejb-beanType"/>
>    <xs:element name="ejb-jar" type="javaee:jboss-ejb-jarType"/>
>    <xs:element name="enterprise-beans" type="javaee:jboss-enterprise-beansType"/>
>    <xs:element name="destination-jndi-name" type="xs:string" />
>    <xs:element name="distinct-name" type="xs:string">
>        <xs:annotation>
>            <xs:documentation>
>                The distinct-name for this EJB module.
>            </xs:documentation>
>        </xs:annotation>
>    </xs:element>
> </xs:schema>
> {code}
> Perhaps I'm not understanding xml enough, but I kinda agree with the validator here, in that there's no clear way to resolve any of the jboss-* elements. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list