sca-policy message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: ISSUE-73: XPath samples are invalid by syntax
- From: David Booz <booz@us.ibm.com>
- To: sca-policy@lists.oasis-open.org
- Date: Tue, 24 Feb 2009 08:38:57 -0500
Please note: With the agreements at Feb 23 Policy TC telecon, this issue will be treated as a public review comment. The issue itself will remain in NEW state in existing JIRA until the new JIRA component can be created to hold the public review comments. Once the new JIRA component is created, all NEW issues in existing JIRA will be moved to the new JIRA component.
http://www.osoa.org/jira/browse/POLICY-73
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
Raymond Feng---02/23/2009 11:41:39 PM---TARGET: SCA Policy Framework Version 1.1, CD 01 Rev 16 DESCRIPTION:
From: |
Raymond Feng/Burlingame/IBM@IBMUS |
To: |
sca-policy@lists.oasis-open.org |
Date: |
02/23/2009 11:41 PM |
Subject: |
[sca-policy] [NEW ISSUE] XPath samples are invalid by syntax |
TARGET: SCA Policy Framework Version 1.1, CD 01 Rev 16
DESCRIPTION:
The XPath Predicates should be always embedded in [] instead of (). The samples below are invalid by XPath syntax. BTW, the return value of SCA-defined XPath functions are not specified by the policy spec.
930 Examples of @attachTo attribute:
931
932 1. //component(@name="test3")
933
934 attach to all instances of a component named "test3"
935
936 2. //component/URIRef( "top_level/test1/test3" )
937
938 attach to the unique instance of component "test3" when used by component "test1" when
939 used by component "top_level" (top_level is a component at the Domain level)
940
941 3. //component(@name="test3")/service(IntentRefs( "intent1" ) )
942
943 selects the services of component "test3" which have the intent "intent1" applied
944
945 4. //component/binding.ws
946
947 selects the web services binding of all components with a service or reference with a Web
948 services binding
949
950 5. /composite(@name="")/component(@name="fred")
PROPOSAL:
Replace the () with [].
Sample 2 should be: //component[URIRef( "top_level/test1/test3") ]
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]