You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (Resolved) (JIRA)" <de...@tuscany.apache.org> on 2011/12/04 18:41:40 UTC

[jira] [Resolved] (TUSCANY-3990) Incorrect XML syntax in some samples definitions.xml files

     [ https://issues.apache.org/jira/browse/TUSCANY-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash resolved TUSCANY-3990.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Java-SCA-1.x

Fixed under revision r1210090.
                
> 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
>             Fix For: Java-SCA-1.x
>
>
> 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