-
1. Re: JBoss 5 Public XML
jaikiran Jan 21, 2009 6:00 AM (in response to stuart_wildcat)"stuart_wildcat" wrote:
http://www.jboss.org/j2ee/dtd/jboss-ds_5_0.dtd
This file is present in the JBoss 5 GA distribution (although relatively new compared to other JBoss 5 XML files). The file itself even references the above URL but no file is at that URL.
I see what you are saying. The jboss-ds_5_0.dtd is missing from http://www.jboss.org/j2ee/dtd/"stuart_wildcat" wrote:
There also seem to be two files that could describe a jboss.xml syntax. There is jboss_5_0.dtd and jboss_5_0.xsd. I assume the DTD is the correct one as the schema is the only JBoss-specific schema, is dated from 2006, and even refers to JBoss Inc! This version is also posted to the URL mentioned in the schema file.
Sorry, i did not get this. Are you saying the jboss_5_0.dtd and jboss_5_0.xsd shipped with JBossAS do not match? -
2. Re: JBoss 5 Public XML
juergen.zimmermann Jan 21, 2009 9:22 PM (in response to stuart_wildcat)See https://jira.jboss.org/jira/browse/JBAS-6114
However, it's open since Oct. and still unassigned -
3. Re: JBoss 5 Public XML
dimitris Jan 22, 2009 7:36 AM (in response to stuart_wildcat)I've asked the website maintainer to update the dtds, so this should be handled soon. Thanks.
-
4. Re: JBoss 5 Public XML
stuart_wildcat Jan 23, 2009 1:31 AM (in response to stuart_wildcat)Many thanks for the follow up on the public version.
As far as the jboss_5_0.dtd and jboss_5_0.xsd...
In the 'dtd' folder there is jboss_5_.dtd and in the 'schema' folder there is jboss_5_0.xsd. Both appear as if they are intended to define an XML syntax for the jboss.xml descriptor that could be included in EJB modules deployed to JBoss.
The problem of course is that only one can be used for any particular jboss.xml file to validate the syntax. The question is which one?
In my opinion the DTD version appears to be the most up to date. Perhaps the schema version was created a long time ago when the thought was to try and move to schemas but was abandoned and never removed from the distribution.
I figured I would ask on the forum first for clarification rather than using JIRA.
Thanks,
Stuart -
5. Re: JBoss 5 Public XML
jaikiran Jan 23, 2009 1:47 AM (in response to stuart_wildcat)From what i know, the jboss_5.0_dtd is for legacy EJB2 containers only, jboss_5_0.xsd is only for the EJB3 stuff.
I figured I would ask on the forum first for clarification rather than using JIRA.
You are at the right place :) -
6. Re: JBoss 5 Public XML
stuart_wildcat Jan 23, 2009 2:19 AM (in response to stuart_wildcat)I could understand this. I see the schema one does import the EJB3 schema.
There certainly isn't any documentation of this anywhere.
At the very least it would be nice if there was a date that is more recent than 2006 in the file. Other DTD/schema files tend to have some kind of date of last change and I can guarantee this file has changed since 2006 as there are several JIRA entries that mention it.