[
https://issues.apache.org/jira/browse/TUSCANY-3893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Laws closed TUSCANY-3893.
-------------------------------
Resolution: Fixed
Correct contributions committed to the local Tuscany repo at revision: 1153516
> 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
> Assignee: 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