-
1. Re: where to find the jboss-web.xml dtd or schema
sfcoy Jan 4, 2012 6:05 PM (in response to inet_gbo)You can find most of (all?) the schema in the docs/schema directory of your server.
-
2. Re: where to find the jboss-web.xml dtd or schema
inet_gbo Jan 5, 2012 4:02 AM (in response to sfcoy)Hi Stephen,
I'm using 7.0.2 and there is nothing in docs/schema that matches to the jboss-web.xml.
Günther
-
3. Re: where to find the jboss-web.xml dtd or schema
sfcoy Jan 5, 2012 5:01 AM (in response to inet_gbo)Sorry about that. I assumed that it would be as per older JBoss distributions and didn't look inside very hard.
I believe the current schema can be found at https://github.com/jboss/metadata/tree/master/web/src/main/resources/schema, which in turn points at http://www.jboss.org/j2ee/schema/jboss-web_6_0.xsd. There doesn't seem to be a 7.x version and I don't know what the plans are for that.
For the time being I'm guessing that you need:
<jboss-web xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_6_0.xsd" version="6.0">
I know that you can no longer use the class-loading element from this schema.
-
4. Re: where to find the jboss-web.xml dtd or schema
inet_gbo Jan 5, 2012 5:33 AM (in response to sfcoy)Hi,
the servlet element also does not work.
Can someone from the jboss team answer the question?
Thanks
Günther
-
5. Re: where to find the jboss-web.xml dtd or schema
jaikiran Sep 28, 2012 4:55 AM (in response to inet_gbo) -
6. Re: where to find the jboss-web.xml dtd or schema
ozizka May 15, 2013 9:35 PM (in response to inet_gbo)See https://community.jboss.org/wiki/JBossDTDs :
jboss_web_6.0.xsd Can be found currently only at http://www.jboss.org/schema/jbossweb/jboss-web_6_0.xsd
There's a Jira for it: https://issues.jboss.org/browse/AS7-3401
-
7. Re: where to find the jboss-web.xml dtd or schema
ozizka Jan 13, 2013 6:39 AM (in response to ozizka)Many XSDs added to http://www.jboss.org/schema/jbossas/