Specifying a schema for jboss-web.xml results in numerous errors in JBDS
Issue
If the XML root element is used without referencing the schema catalog, i.e.<jboss-web>, I get no errors. But if the XML root element includes schema information, i.e.
<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">
then the IDE indicates the XML as containing the following error(s):
Referenced file contains errors (file:/jbdevstudio_8.1.0.GA/studio/plugins/org.jboss.tools.as.catalog_3.0.3.Final-v20150325-0035-B129.jar!/schema/xsd/jboss-web_8_0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
Environment
- Red Hat JBoss Developer Studio
- 8.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
