I am having a problem with schema validation with jaxrs in 2.2.9.

 

If I specify a single schemaLocation CXF seems to use the scheama, if I
try specify multiple schemas it is not using them.  The problem with
using just one is that the other services stop working.  Any ideas?

 

For example,

 

 

This works:

    <jaxrs:schemaLocations>

 
<jaxrs:schemaLocation>classpath:/category.xsd</jaxrs:schemaLocation>

    </jaxrs:schemaLocations>

 

 

This doesn't work:

    <jaxrs:schemaLocations>

 
<jaxrs:schemaLocation>classpath:/category.xsd</jaxrs:schemaLocation>

 
<jaxrs:schemaLocation>classpath:/coupon.xsd</jaxrs:schemaLocation>

       <jaxrs:schemaLocation>classpath:/error.xsd</jaxrs:schemaLocation>

       <jaxrs:schemaLocation>classpath:/image.xsd</jaxrs:schemaLocation>

       <jaxrs:schemaLocation>classpath:/store.xsd</jaxrs:schemaLocation>

       <jaxrs:schemaLocation>classpath:/terms.xsd</jaxrs:schemaLocation>

    </jaxrs:schemaLocations>

 

Reply via email to