[jboss-dev-forums] [JBoss XML Binding Development] - Re: JBossEntityResolver cannot resolve...

alex.loubyansky@jboss.com do-not-reply at jboss.com
Thu Oct 29 06:33:58 EDT 2009


I don't see it as an issue with JBossEntityResolver. As you can see it is trying to use publicId/systemId as URL, find in the classpath and you can help by mapping the location explicitly. This is the contract that it implements. If you have a use-case which shows a bug in the impl of the contract then it's an issue otherwise it's a misuse.

If you want to rely on resolution based on the classpath then you have to specify the correct relative path. Like you had posted previously.
<xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="OGC/net/opengis/gml/3.2.1/gml.xsd"/>

Alternatively, perhaps you can provide your own EntityResolver impl, but I am not sure about that.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262898#4262898

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262898



More information about the jboss-dev-forums mailing list