Fix public URIs for http://cxf.apache.org/configuration/security schema
-----------------------------------------------------------------------
Key: CXF-676
URL: https://issues.apache.org/jira/browse/CXF-676
Project: CXF
Issue Type: Task
Reporter: Andrea Smyth
The URI for this schema is currently made known to Spring's validating parse as:
http\://cxf.apache.org/../../../../../../common/schemas/src/main/resources/schemas/configuration/security.xsd
(see spring.schemas in rt-transports/http).
This actually works when used in a config file like the one below but is not a
suitable URI for users:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:h="http://cxf.apache.org/transports/http/configuration"
xmlns:s="http://cxf.apache.org/configuration/security"
xsi:schemaLocation="
http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schema/transports/http.xsd
http://cxf.apache.org/configuration/security
http://cxf.apache.org/../../../../../../common/schemas/src/main/resources/schemas/configuration/security.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<h:destination id="{urn:test:ns}Foo.http-destination">
<h:server ContentEncoding="foobar"/>
</h:destination>
<h:conduit id="{urn:test:ns}Foo.http-conduit">
<h:client ConnectionTimeout="97"/>
<h:sslClient>
<!-- Spring's validating parser will complain about 97 not beeing an
valid value for a boolean -->
<s:SessionCaching>97</s:SessionCaching>
</h:sslClient>
</h:conduit>
</beans>
Also: register the schema where it is located, i.e. in spring.schemas file in
cxf-common-schemas. instead of cxf-rt-transports-http.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.