Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5465

policy.xsd used in rt-ws-policy's blueprint configuration is inconsistent

    XMLWordPrintableJSON

Details

    • 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.

      Attachments

        Activity

          People

            ay Akitoshi Yoshida
            ay Akitoshi Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: