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: Re: [sca-policy] ISSUE 73: XPath samples are invalid by syntax - proposal


Ok, thanks. I wasn't at all sure what the right syntax was. I skimmed the spec and found examples of both forms on the internet (with and without the '@'). I'm happy to put them back.

http://www.oasis-open.org/committees/download.php/31859/sca-policy-1.1-spec-cd02-issue73-v2.doc

http://www.oasis-open.org/committees/download.php/31858/sca-policy-1.1-spec-cd02-issue73-v2.pdf

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 ashok malhotra ---03/27/2009 09:02:22 AM---Dave, you removed the @ sign from the attribute tests, forashok malhotra ---03/27/2009 09:02:22 AM---Dave, you removed the @ sign from the attribute tests, for example //component[name="test3"]


From:

ashok malhotra <ashok.malhotra@oracle.com>

To:

David Booz/Poughkeepsie/IBM@IBMUS

Cc:

sca-policy@lists.oasis-open.org

Date:

03/27/2009 09:02 AM

Subject:

Re: [sca-policy] ISSUE 73: XPath samples are invalid by syntax - proposal





Dave, you removed the @ sign from the attribute tests, for example  
//component[name="test3"]
But XPath 1.0
http://www.w3.org/TR/xpath#path-abbrev says

|"@name| selects the |name| attribute of the context node"

So, we do need the @ sign as in //component[@name="test3"]||||

All the best, Ashok


David Booz wrote:
>
> Hi,
>
> Attached is a proposal to resolve ISSUE 73
> (
http://www.osoa.org/jira/browse/POLICY-73)
>
> /(See attached file: sca-policy-1.1-spec-cd02-issue73-v1.doc)/
>
>
> 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
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> 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 

---------------------------------------------------------------------
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]