If you look at dd validator test in the testsuite
it is failing because of an unexpected namespace:
http://hudson.jboss.org/hudson/job/
JBoss-AS-5.0.x-TestSuite-sun15/533/testReport/org.jboss.test
.xml/DDValidatorUnitTestCase/testJBossXml/
Expected http://www.jboss.c
om/xml/ns/javaee', but the target namespace
of the schema document is 'http://java.sun.com
/xml/ns/javaee'.
The actual xml is here:
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbo
ssas/trunk/testsuite/src/resources/refs/jboss.xml?revision=6
8900&view=markup
which references:
<jboss xmlns="http://www.j
boss.com/xml/ns/javaee"
xmlns si=&q
uot;http:
//www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.c
om/xml/ns/javaee
http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
version="3.0">
If I look in JBossEntityResolver there is no mention of this
namespace:
http://viewvc.jbo
ss.org/cgi-bin/viewvc.cgi/common/common-core/trunk/src/main/
java/org/jboss/util/xml/JBossEntityResolver.java?revision=27
99&view=markup
but there is a reference to:
registerEntity("
http://www.jboss.org/j2ee/schema/jboss_5_0.xsd",
"jboss_5_0.xsd");
Since the schemas don't match, the resolution is actually
going here:
http:/
/www.jboss.org/j2ee/schema/jboss_5_0.xsd
which is a very old and broken schema created by the EJB3
team in the wrong namespace.
So I think there are two fixes required:
1) Correct the namespace in the registerEntry of
JBossEntityResolver for jboss_5_0.xsd
2) Update the correct/latest schema to www.jboss.org which
can be found here:
http://viewvc.jboss.org/cgi
-bin/viewvc.cgi/jbossas/projects/metadata/trunk/src/main/res
ources/schema/jboss_5_0.xsd?revision=72036&view=markup
a>
NOTE: The test should pass with just (1) fixed since we
shouldn't be going to the website
to resolve schemas.
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
jboss-development mailing list
jboss-development lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-develop
ment
|