[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [wsbpel] assign query without part?
In addition the bpws:getVariableData(‘varname’,
‘part’, ‘query’) method needs to be clarified when one
is dealing with a variable element rather than message. This was discussed at the last f2f and
it was decided that the editors would clean this up as an editorial issue. Just a note in the current specification that
variables defined as type are restricted to only simple types. So the third entry in your case may need
adjusting. Here is the relevant
text: “The messageType,
type or element attributes are used to specify the type of a variable. Exactly
one of these attributes must be used. Attribute messageType
refers to a WSDL message type definition. Attribute type refers to an XML
Schema simple type. Attribute element refers to an XML Schema element. An XML
Schema complex type must be associated with an element to be used by a BPEL4WS
variable.“ Chris -----Original
Message-----
I am particularly concerned about these sentences in section 14.3.
"For XPath 1.0, the value of the query attribute MUST be an absolute locationPath (with '/' meaning the root of the document fragment representing the entire part). It is used to identify the root of a subtree within the document fragment representing the part".
After reading this I am thinking that you can't have query without part.
But there is no "part" for element variables. So for element variables, we should allow query attribute without part attribute. In this is true, I suggest that we should change the content to:
"For XPath 1.0, the value of the query attribute MUST be an absolute locationPath (with '/' meaning the root of the document fragment). It is used to identify the root of a subtree within the document fragment".
thanks, -muruga -----Original Message----- From: Muruga Chinnananchi [mailto:muruga@collaxa.com] Sent: Sunday, March 07, 2004 8:47 PM To: wsbpel@lists.oasis-open.org Subject: [wsbpel] assign query without part?
Confusion about assign. Spec section 14.3 says the following (see below).
"In the first from-spec and to-spec variants of assignment, an optional query attribute may be used in executable processes, yielding the forms
<from variable="ncname" part="ncname"? query="queryString"?/> <to variable="ncname" part="ncname"? query="queryString"?/>
For XPath 1.0, the value of the query attribute MUST be an absolute locationPath (with '/' meaning the root of the document fragment representing the entire part). It is used to identify the root of a subtree within the document fragment representing the part".
The question is:
For <to>, is it allowed to have "query" without "part"?. If it is not allowed to have "query" without "part" then I would suggest to remove the "?" for part, like below. <from variable="ncname" part="ncname" query="queryString"?/> <to variable="ncname" part="ncname" query="queryString"?/>
I have an element variable which doesn't have "part" and I want to use that element variable in <to>. How do i use element variables in <to>?
thanks, -muruga
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.
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]