Incorrect XML syntax in some samples definitions.xml files
----------------------------------------------------------

                 Key: TUSCANY-3990
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3990
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Samples
    Affects Versions: Java-SCA-1.6.2
            Reporter: Simon Nash
            Assignee: Simon Nash


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. 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to