cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marko Voss (JIRA)" <>
Subject [jira] [Created] (CXF-4500) Evaluate jaxrs:schemaLocations after jaxrs:providers
Date Thu, 06 Sep 2012 15:59:07 GMT
Marko Voss created CXF-4500:

             Summary: Evaluate jaxrs:schemaLocations after jaxrs:providers
                 Key: CXF-4500
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.6.2
         Environment: CXF, Spring
            Reporter: Marko Voss
            Priority: Minor

If you set the XML catalog to the JAXBElementProvider using the new attribute 'catalogLocation'
and setup the jaxrs:schemaLocations in jaxrs:server bean before setting up the jaxrs:providers
including the JAXBElementProvider the evaluation of the schemaLocations in org.apache.cxf.jaxrs.utils.schemas.SchemaHandler#createSchema
line 81+ will not use the catalogLocation because of it is null.

Workaround: First, setup the jaxrs:providers, then setup the jaxrs:schemaLocations. So the
order of the elements is important.

Proposal: Evaluate the providers element before evaluating the schemaLocations element.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message