The thing that resolves schemas is JBossEntityResolver.
http://anonsvn.jboss.org/repos/common/common-core/trunk/src/main/java/org...
For details you can check its resolveEntity method.
You can specify schemaLocation in XML. Or make it available in the classpath.
As to the META-INF, seems like a good idea, but to get to resources there using thread
classloader I think you'd have to prefix the resource name with 'META-INF/'?
Which JBossEntityResolver doesn't do. It tries the resource name as is first and if
that failed then with prefixes 'dtd/' and 'schema/'.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222902#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...