Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7.8
-
None
-
Unknown
Description
According to the CXF documentation,
http://cxf.apache.org/docs/schemas-and-namespaces.html
the schema for CXF's policy configuration has namespace "http://cxf.apache.org/policy" for both spring and blueprint, but the schema location is given as "http://cxf.apache.org/schemas/policy.xsd" and "http://cxf.apache.org/schemas/blueprint/policy.xsd", respectively.
Although the lookup of these two schemas will unlikely occur at the same time (because one for only spring context and the other one for only blueprint context), assigning a namespace to two different locations with different contents could lead to an unexpected behavior. For example, schema at "http://cxf.apache.org/schemas/blueprint/policy.xsd" has the target namespace set to http://cxf.apache.org/blueprint/policy.
As it seems these two schemas can be unified into one schema without any dependency to spring or blueprint, we should use one unified schema for both contexts.