[jbosstools-issues] [JBoss JIRA] (JBIDE-18951) jboss-web_8_0.xsd in AS XML catalog reported as "containing errors" by Luna

Rob Stryker (JIRA) issues at jboss.org
Tue May 24 18:55:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-18951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242164#comment-13242164 ] 

Rob Stryker commented on JBIDE-18951:
-------------------------------------

The first thing I'd like to point out here is that the URL you all are using in schema location doesn't exist.  Now I know it's saying there are errors with our bundled version, but there's absolutely no reason any examples we make should have the url in there. 

Now, both of these examples seem to have no error for me:

INCORRECT URL:
{code}
<jboss-web xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_8_0.xsd" version="8.0">
</jboss-web>
{code}

and  (CORRECT URL)
{code}
<jboss-web xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/schema/jbossas/jboss-web_8_0.xsd" version="8.0">
</jboss-web>
{code}

[~mmalina] can you actually tell me what the errors inside are? What I mean is, can you actually open the problems view and show details, as it instructs you to? 

> jboss-web_8_0.xsd in AS XML catalog reported as "containing errors" by Luna
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-18951
>                 URL: https://issues.jboss.org/browse/JBIDE-18951
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server, upstream
>    Affects Versions: 4.2.0.Final
>         Environment: W7 Pro SP1
> eclipse.buildId=4.4.1.M20140925-0400
> org.jboss.tools.as.catalog (3.0.0.Final-v20141016-1911-B95) "JBoss AS XML Catalog Entries"
>            Reporter: Jordan Glassman
>            Assignee: Rob Stryker
>         Attachments: Capture4.PNG
>
>
> In a jboss-web.xml file, a namespace declaration like:
> {code} <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_8_0.xsd" version="8.0"
> >{code}
> Gives eclipse error:
> {quote}Referenced file contains errors (jar:file:/C:/eclipse/plugins/org.jboss.tools.as.catalog_3.0.0.Final-v20141016-1911-B95.jar!/schema/xsd/jboss-web_8_0.xsd).  
> For more information, right click on the message in the Problems View and select "Show Details..."{quote}



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


More information about the jbosstools-issues mailing list