W3C home > Mailing lists > Public > public-ws-chor@w3.org > August 2006

Proposal: Name and optional query for TokenLocator

From: Gary Brown <gary@pi4tech.com>
Date: Tue, 01 Aug 2006 10:00:38 +0100
Message-ID: <44CF1836.1010400@pi4tech.com>
To: 'WS-Choreography List' <public-ws-chor@w3.org>

Hi

New issue to be placed in bugzilla - have also included the proposal to 
resolve it.

Issues:

1) All of the static types within WS-CDL have a name attribute, except 
for the TokenLocator - which is probably because it provides additional 
information based on a relationship between two types (i.e. token and 
information type). However, it would be useful to be able to refer to a 
particular token locator by name, although unlike the other types, maybe 
it should be optional.

2) The 'query' attribute on the token locator forces the user to specify 
implementation details as this field is mandatory. Other parts of the 
spec leave 'implementation details' (such as specifying a WSDL interface 
or conditional expressions) as optional or non-observable.


Proposals:

Section 5.4:



1) Change:

<tokenLocator  tokenName="QName" 
               informationType="QName" 
               part="NCName"?
               query="XPath-expression" />

to:

<tokenLocator  name="NCName"? tokenName="QName" 
               informationType="QName" 
               part="NCName"?
               query="XPath-expression"? />


2) Add: (before the sentence "The attribute tokenName identifies ....."

"The OPTIONAL attribute |name| is used to specify a distinct name for 
each |tokenLocator| element declared within a choreography package."


3) Change:
"The attribute |query| defines the query string that is used to select a 
document fragment within a document or a document part."
to:
"The OPTIONAL attribute |query| defines the query string that is used to 
select a document fragment within a document or a document part."



Regards
Gary
Received on Tuesday, 1 August 2006 09:00:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 01:01:46 GMT