-
1. Re: JBoss EJB3 schema location broken
jaikiran Jan 25, 2013 5:22 AM (in response to weberj)Many xsds haven't been published. However, you can find them in the JBOSS_HOME/docs/schema of the distribution.
-
2. Re: JBoss EJB3 schema location broken
weberj Jan 25, 2013 7:08 AM (in response to jaikiran)yes, the schemas are locally available, but it's a pain to tell this all XML editor's validators:
http://wiki.eclipse.org/Using_the_XML_Catalog
http://plugins.jedit.org/plugindoc/XML/validation.html
Why don't you simply publish them?
-
3. Re: JBoss EJB3 schema location broken
weberj Jan 25, 2013 7:57 AM (in response to weberj)I added docs/schema/jboss-ejb3-2_0.xsd to Eclipse's catalog.
But now it complains about error in jboss-ejb3-spec-2_0.xsd
for jboss-ejb-jarType it says
cos-nonambig: "http://java.sun.com/xml/ns/javaee":assembly-descriptor and
"http://java.sun.com/xml/ns/javaee":assembly-descriptor (or elements from
their substitution group) violate "Unique Particle Attribution". During validation
against this schema, ambiguity would be created for those two particles.
-
4. Re: JBoss EJB3 schema location broken
ctomc Jan 25, 2013 9:04 AM (in response to weberj)all schemas are somewhat on internet:
all are present in this folder:
https://github.com/jbossas/jboss-as/blob/master/build/src/main/resources/docs/schema
and if you view file as raw you can get to url's like:
hope this helps
--
tomaz
-
5. Re: JBoss EJB3 schema location broken
weberj Jan 25, 2013 9:32 AM (in response to ctomc)Tomaz, sorry, no, it's not sufficient to be able to find the schemas on the web, they need to be a location conforming to the schema lookup rules an XML validator uses, which would be exactly http://www.jboss.org/j2ee/schema/jboss-ejb3-2_0.xsd
Juergen