Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3990

Incorrect XML syntax in some samples definitions.xml files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Java-SCA-1.6.2
    • Java-SCA-1.x
    • Java SCA Samples
    • None

    Description

      While investigating TUSCANY-3984, I discovered a syntax error in the definitions.xml files for samples/helloworld-ws-reference-secure and samples/helloworld-ws-service-secure.

      In these files, the target namespace for the <sca:definitions> element is http://www.osoa.org/xmlns/sca/1.0 and each <policySet> element has a name attribute value of the form "hw:xxxx" where hw is the prefix for the namespace http://helloworld. This creates a QName with a namespace http://www.osoa.org/xmlns/sca/1.0 and a local part hw:xxxx.

      The correct XML syntax is to use http://helloworld as the target namespace and remove the hw: prefix from the <policySet> element's name attribute value.

      Attachments

        Activity

          People

            scnash Simon Nash
            scnash Simon Nash
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: