[
https://issues.jboss.org/browse/JBIDE-18951?page=com.atlassian.jira.plugi...
]
Rob Stryker edited comment on JBIDE-18951 at 1/21/15 3:57 AM:
--------------------------------------------------------------
I've tried the following in some smoke tests. Nothing has worked so far:
1) removing schemaLocation flag
-<xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="web-app_3_1.xsd"/>
+<xsd:import
namespace="http://java.sun.com/xml/ns/javaee"/>
This removed the schema-reference warning, but the errors persisted.
2) Changing the schemaLocation to point to an actual xsd upstream
-<xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="web-app_3_1.xsd"/>
+<xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="http://www.jboss.org/schema/jbossas/web-app_3_1.xsd&...
This had the same effect as removing the schemaLocation entirely.
I've updated this wtp bug with some findings and a more easy replication method for
them.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=315741
was (Author: rob.stryker):
I've tried the following in some smoke tests. Nothing has worked so far:
1) removing schemaLocation flag
-<xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="web-app_3_1.xsd"/>
+<xsd:import
namespace="http://java.sun.com/xml/ns/javaee"/>
This removed the schema-reference warning, but the errors persisted.
2) Changing the schemaLocation to point to an actual xsd upstream
+<xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="web-app_3_1.xsd"/>
-<xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="http://www.jboss.org/schema/jbossas/web-app_3_1.xsd&...
This had the same effect as removing the schemaLocation entirely.
I've updated this wtp bug with some findings and a more easy replication method for
them.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=315741
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
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
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.3.11#6341)