]
Susanne Jarl commented on JBMETA-380:
-------------------------------------
Also in the documentation text in jboss-web_8_0.xsd it says:
<jboss-web
Namespace error in jboss-web_8_0.xsd
------------------------------------
Key: JBMETA-380
URL:
https://issues.jboss.org/browse/JBMETA-380
Project: JBoss Metadata
Issue Type: Bug
Components: web
Affects Versions: 8.0.0.Final
Reporter: Paul Benedict
Assignee: David Lloyd
Priority: Minor
Labels: xsd
I think there's an error in this XSD which prevents me from using the
"javaee" elements you intend to import.
First, the "javaee" namespace is declared as
{{http://xmlns.jcp.org/xml/ns/javaee}} in the XML header, but then (surprisingly) the
<xsd:import> uses another namepace:
{code}
<xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="web-app_3_1.xsd"/>
{code}
I'm fairly confident this is wrong. It's importing under the old Java EE
namespace -- not the new one which the header correctly declares. Hence, consumers are
unable to get the "javaee" elements.