[
http://jira.jboss.com/jira/browse/JBAS-4333?page=all ]
Alessio Soldano resolved JBAS-4333.
-----------------------------------
Resolution: Done
The right namespace is actually already being used, thus I only fixed the namespace in the
documentation in the metadata project.
JBoss DD shemas should use a jboss specific namespace
-----------------------------------------------------
Key: JBAS-4333
URL:
http://jira.jboss.com/jira/browse/JBAS-4333
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Thomas Diesler
Assigned To: Alessio Soldano
Fix For: JBossAS-5.0.0.Beta4
Curently the documentation for jboss_5_0.xsd reads
This is the XML Schema for the JBoss 5.0 deployment descriptor.
The deployment descriptor must be named "META-INF/jboss.xml" in
the EJB's jar file. All EJB deployment descriptors must indicate
the JBoss schema by using the Java EE namespace:
http://www.jboss.org/j2ee/schema
and by indicating the version of the schema by
using the version element as shown below:
<jboss
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.org/j2ee/schema
http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
version="5.0">
...
</jboss>
The instance documents may indicate the published version of
the schema using the xsi:schemaLocation attribute for the
Java EE namespace with the following location:
http://www.jboss.org/j2ee/schema/jboss_5_0.xsd
Note, that the default namespace for element is
http://java.sun.com/xml/ns/javaee, which
is IMHO incorrect.
This is the namespace reserved for standard JavaEE5 elements
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira