OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

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


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

Inactive hide details for Raymond Feng---02/23/2009 11:41:39 PM---TARGET: SCA Policy Framework Version 1.1, CD 01 Rev 16 DESCRIRaymond 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]