[jbosstools-issues] [JBoss JIRA] (JBIDE-18316) Errors in project after import WildFly quickstarts (bundled XSD)
Xavier Coulon (JIRA)
issues at jboss.org
Fri Sep 26 09:58:02 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-18316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006492#comment-13006492 ]
Xavier Coulon commented on JBIDE-18316:
---------------------------------------
moving to {{4.3.x}} and {{upstream}} component because the validation problem seems to be at Eclipse WTP level, from what I and [~rob.stryker] could find: the following file
{code}
<jboss:ejb-jar xmlns:jboss="http://www.jboss.com/xml/ns/javaee" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="urn:security"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-ejb3-2_0.xsd
http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
version="3.1" impl-version="2.0">
<enterprise-beans>
</enterprise-beans>
<assembly-descriptor>
</assembly-descriptor>
</jboss:ejb-jar>
{code}
use an explicit schemaLocation, {{http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd}} and it seems that in that case, Eclipse WTP is not able to import the {{javaee_6.xsd}} file from
{code}
<xsd:include schemaLocation="javaee_6.xsd"/>
{code}
This seems to be in relation with https://bugs.eclipse.org/bugs/show_bug.cgi?id=315741
> Errors in project after import WildFly quickstarts (bundled XSD)
> ----------------------------------------------------------------
>
> Key: JBIDE-18316
> URL: https://issues.jboss.org/browse/JBIDE-18316
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server, upstream
> Affects Versions: 4.2.0.Beta3
> Reporter: Xavier Coulon
> Assignee: Max Rydahl Andersen
> Priority: Critical
> Fix For: 4.3.x
>
>
> After importing all modules from https://github.com/wildfly/quickstart into JBDS 8.0.0.CR1b, a few projects have errors because of XML validation, such as:
> {code}
> Referenced file contains errors (jar:file:/Users/xcoulon/DevToolz/ide/jbossdevstudio800CR1b/studio/plugins/org.jboss.tools.as.catalog_3.0.0.CR1-v20140905-1648-B75.jar!/schema/xsd/jboss-ejb3-2_0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jbosstools-issues
mailing list