sca-policy message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: [NEW ISSUE] XPath samples are invalid by syntax
- From: Raymond Feng <rfeng@us.ibm.com>
- To: sca-policy@lists.oasis-open.org
- Date: Mon, 23 Feb 2009 20:38:20 -0800
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]