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:31:16 UTC

[jira] [Created] (TUSCANY-3893) Policy applies to no correctly specified in policy compliance tests

Policy applies to no 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

        

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

Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws reassigned TUSCANY-3893:
-----------------------------------

    Assignee: Simon Laws

> 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

        

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

Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
     [ 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

        

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

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068847#comment-13068847 ] 

Mike Edwards commented on TUSCANY-3893:
---------------------------------------

The Policy test suite at OASIS has been fixed to ensure that all @appliesTo XPath values use sca: prefix for any and all SCA elements, as of 20 July 2011

> 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

        

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

Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
     [ 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