[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
Mon Jul 25 16:30:02 EDT 2016


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

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

I seriously have no idea how to fix this. Spent a few hours tweaking local schema. 

Martin is right, in that changing the location only changes one small detail of the error:  with the wrong url, it tries to use our bundled schema to validate. With the correct url, it uses the remote schema.   However, the error is predominantly the same, since the error seems to be in the schema itself. 

However, a small workaround is to go to window -> preferences, then select the XML/XML Files/Validation page, and change the entry "Referenced file contains errors" to warning or ignore. 

That's about all we have at the moment. 

> 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
>              Labels: help_wanted
>             Fix For: LATER
>
>         Attachments: Capture4.PNG, xsd-details.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