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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsbpel message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [wsbpel] Issue - 102 - Fixing Typos in getVariable*() in BPELexamples



Chris,

Thanks for pointing that out. :-)
I incorporate that into the proposal (when/if I submit one) for Issue 102, after Issue 103 is resolved.


Regards,
Alex Yiu


Chris Keller wrote:

In XPath 1.0 default namespaces are not used for QName expansion and so the functions in our examples should always contain the bpws: prefix and xmlns:bpws should be explicitly declared.

 

From Section 2.3 of XPath 1.0 specification:

 

"A QName in the node test is expanded into an expanded-name using the namespace declarations from the expression context. This is the same way expansion is done for element type names in start and end-tags except that the default namespace declared with xmlns is not used: if the QName does not have a prefix, then the namespace URI is null (this is the same way attribute names are expanded). It is an error if the QName has a prefix for which there is no namespace declaration in the expression context."

 

Chris

 

-----Original Message-----
From: ws-bpel issues list editor [mailto:peter.furniss@choreology.com]
Sent
:
Tuesday, March 09, 2004 10:24 AM
To: wsbpel@lists.oasis-open.org
Subject: [wsbpel] Issue - 102 - Fixing Typos in getVariable*() in BPEL examples

 

This issue has been added to the wsbpel issue list. The issues list is posted as a Technical Committee document to the OASIS WSBPEL TC pages on a regular basis. The current edition, as a TC document, is the most recent document with the title in the "Issues" folder of the WSBPEL TC document list - the next posting will include this issue. The list editor's working copy, which will normally include an issue when it is announced, is available at this constant URL.

Issue - 102 - Fixing Typos in getVariable*() in BPEL examples

Status: open
Date added: 9 Mar 2004
Submitter: Alex Yiu
Date submitted: 08 March 2004
Description: There seem to be typos in our BPEL examples

 
"bpws:getVariableProperty(stockResult,level) > 100"
"bpws:getVariableProperty(stockResult,level) >= 0"
"bpws:getVariableData(orderDetails) > 100"

We need to put quotations on function parameters.

It becomes like:

 
"bpws:getVariableProperty('stockResult','level') > 100"
"bpws:getVariableProperty('stockResult','level') >= 0"
"bpws:getVariableData('orderDetails') > 100"

In some of the examples the "bpws:" is actually extra and incorrect. The prefix-namespace mapping of a function call in XPath typically inherited from that of the hosting element.
Changes: 9 Mar 2004 - new issue


To comment on this issue, please follow-up to this announcement on the wsbpel@lists.oasis-open.org list (replying to this message should automatically send your message to that list), or ensure the subject line as you send it starts "Issue - 102 - [anything]" or is a reply to such a message.

To add a new issue, see the issues procedures document (but the address for new issue submission is the sender of this announcement).

To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/wsbpel/members/leave_workgroup.php.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]