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 Laws (JIRA)" <de...@tuscany.apache.org> on 2011/07/06 11:35:16 UTC

[jira] [Updated] (TUSCANY-3893) Policy appliesTo not correctly specified in policy compliance tests

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

Simon Laws updated TUSCANY-3893:
--------------------------------

    Summary: Policy appliesTo not correctly specified in policy compliance tests  (was: Policy applies to no correctly specified in policy compliance tests)

Fix typo in title

> Policy appliesTo not correctly specified in policy compliance tests
> -------------------------------------------------------------------
>
>                 Key: TUSCANY-3893
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3893
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-2.0-Beta2
>            Reporter: Simon Laws
>             Fix For: Java-SCA-2.0
>
>
> In several of the policy compliance tests the appliesTo XPath expression includes a note test describing an element without an explicit namespace. For example, from POL_4020, 
>    <policySet name="BothIntents" provides="test:BindingIntent test:ReferenceIntent" appliesTo="//binding.sca" attachTo="//sca:reference[@name='reference1']/interface.wsdl">
>       <!-- This policy intentionally left blank -->
>    </policySet>
> Note. appliesTo="//binding.sca" rather than appliesTo="//sca:binding.sca"
> The XPath spec expects the namespace to be specified and maps the elements without a namespace shortname to the null namespace. (see http://www.w3.org/TR/xpath/#node-tests). We need to get OASIS to fix the tests. The only one that appears to fail because of this in Tuscany is 4020 but others have the same problem so we need to look at why they don't fail also. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira