[jboss-jira] [JBoss JIRA] Created: (JBAS-4333) JBoss DD shemas should use a jboss specific namespace

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Sat Apr 14 06:48:01 EDT 2007


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
             Fix For: JBossAS-5.0.0.CR1


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

        



More information about the jboss-jira mailing list