You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aki Yoshida (JIRA)" <ji...@apache.org> on 2013/12/17 12:53:06 UTC

[jira] [Created] (CXF-5465) policy.xsd used in rt-ws-policy's blueprint configuration is inconsistent

Aki Yoshida created CXF-5465:
--------------------------------

             Summary: policy.xsd used in rt-ws-policy's blueprint configuration is inconsistent
                 Key: CXF-5465
                 URL: https://issues.apache.org/jira/browse/CXF-5465
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 2.7.8
            Reporter: Aki Yoshida
            Assignee: Aki Yoshida


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.






--
This message was sent by Atlassian JIRA
(v6.1.4#6159)