This content has been marked as final.
Show 2 replies
-
1. Re: SchemaBindingResolver.resolve based on ns to class
aloubyansky Oct 10, 2007 5:37 PM (in response to starksm64)If there is a possibility to map a namespace to different XSDs then it's possible that those XSDs define global types/elements under the same name. In theory at least, merging them into one schema may result in conflicts. Therefore, I would vote for <schemaLocation,class> pair.
-
2. Re: SchemaBindingResolver.resolve based on ns to class
starksm64 Oct 10, 2007 7:09 PM (in response to starksm64)That is what I added.
<bean name="WarSchemaResolverConfig" class="org.jboss.xb.binding.sunday.unmarshalling.SchemaResolverConfig"> <!-- schemaLocation to JBossXBuilder binding classes --> <property name="bindingClassesByLocations"> <map keyClass="java.lang.String" valueClass="java.lang.String"> <entry> <key>http://java.sun.com/dtd/web-app_2_3.dtd</key> <value>org.jboss.metadata.web.spec.Web23MetaData</value> </entry> </map> </property> </bean>