Sergey Beryozkin created CXF-5785:
-------------------------------------
Summary: JAX-RS XML Schemas at CXF site need to support multiple
CXF versions
Key: CXF-5785
URL: https://issues.apache.org/jira/browse/CXF-5785
Project: CXF
Issue Type: Bug
Components: JAX-RS
Reporter: Sergey Beryozkin
in CXF 3.0.0 jaxrs:client moved to a new namespace and a new schema document.
The latest jaxrs.xsd without jaxrs:client got uploaded to the site.
Side-effect: CXF 2.x clients using jaxrs:client see the validation issues.
At the moment the workaround is to keep the old jaxrs:client definitions inside
new jaxrs.xsd.
Possible longer-term solutions:
1. introduce jaxrs2x.xsd schema and advice CXF 2.x clients to start referencing
jaxrs2x.xsd
2. introduce jaxrs3x.xsd, upgrade CXF 3.0.1 jaxrs,xsd to reference jaxrs3x
namespace - we would need to keep the numbering or dates added from now on
3. have somehow jaxrs;client residing in rs-client module use the same target
namespace as before, effectively reverting a namespace change
Preferred options: 1 or 3
--
This message was sent by Atlassian JIRA
(v6.2#6252)