-
Bug
-
Resolution: Done
-
Minor
-
JBossAS-4.0.3 SP1
-
None
-
Compatibility/Configuration
The global element declaration
<xsd:complexType name="java-typeType">
occurs in both of the following schemas:
"j2ee_1_4.xsd" and "ejb-jar_2_1.xsd"
in the docs/schemas folder.
So if one wants to validate a ejb-jar.xml file locally, using this "ejb-jar_2_1.xsd" schema, one gets an error message because it includes the "j2ee_1_4.xsd" schema file :
(<xsd:include schemaLocation="http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd"/>)
When I commented out the declaration of this element in "j2ee_1_4.xsd" , I could validate the "ejb-jar.xml" without any further difficulties.
Could You please try an answer to the question whether this "fix" could cause any other problems using this modified version j2ee_1_4.xsd out the definition of that element?
**********************************
I would like to thank all of You for providing the world with such a great open source product!!
Yours Andreas Merziger