[jboss-jira] [JBoss JIRA] (JBMETA-380) Namespace error in jboss-web_8_0.xsd

Susanne Jarl (JIRA) issues at jboss.org
Sat Dec 6 11:01:39 EST 2014


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

Susanne Jarl commented on JBMETA-380:
-------------------------------------

Also in the documentation text in jboss-web_8_0.xsd it says:

<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">

But the url http://www.jboss.org/j2ee/schema/jboss-web_8_0.xsd is a 404 not found.

> 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.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list