[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: ISSUE-115: Policy Specification has incorrect examples for the @appliesToattribute of PolicySet
http://www.osoa.org/jira/browse/POLICY-115 Dave Booz STSM, BPM and SCA Architecture Co-Chair OASIS SCA-Policy TC and SCA-J TC "Distributed objects first, then world hunger" Poughkeepsie, NY (845)-435-6093 or 8-295-6093 e-mail:booz@us.ibm.com |------------> | From: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Mike Edwards <mike_edwards@uk.ibm.com> | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |"OASIS Policy" <sca-policy@lists.oasis-open.org> | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |12/21/2009 05:52 AM | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |[sca-policy] [NEW ISSUE] Policy Specification has incorrect examples for the @appliesTo attribute of PolicySet | >--------------------------------------------------------------------------------------------------------------------------------------------------| Raiser: Mike Edwards Target: sca-policy-1.1-spec-cd02-rev6.doc Description: The Policy spec has numerous examples of the @appliesTo attribute of the <policySet/> element. Most of these examples are formally incorrect. The example on line 372 is correct, with this form: appliesTo="//sca:binding.ws" The "//" at the beginning of the string is essential - the string is an XPath expression and the expression is evaluated against all <composite/> document elements in the Domain. "//" means "any nodes of the following type anywhere in the hierarchy below the root element (ie below the composite element (s)). All the other examples of @appliesTo in the Policy specification omit the leading "//". This has the meaning of selecting all the children of the stated binding element, where that element is the root element (which of course, it never is). Here is an example from line 461, typical of the other occurrences: appliesTo="binding.ws" The following is a list of all the incorrect examples of @appliesTo in the CD02 Rev6 document: Line # 461 493 543 557 596 1162 1268 1381 1932 Proposal: For all examples of the @appliesTo attribute, ensure that the string begins with "//". Here is a version of CD02 Rev6 with the complete set of proposed updates (all changes accepted before creating this version of the document). Yours, Mike. Strategist - Emerging Technologies, SCA & SDO. Co Chair OASIS SCA Assembly TC. IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain. Phone & FAX: +44-1962-818014 Mobile: +44-7802-467431 Email: mike_edwards@uk.ibm.com Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU [attachment "sca-policy-1.1-spec-cd02-rev6+Issue115.pdf" deleted by David Booz/Poughkeepsie/IBM] [attachment "sca-policy-1.1-spec-cd02-rev6 +Issue115.doc" deleted by David Booz/Poughkeepsie/IBM] --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]