To: "Alex Yiu" <email@example.com>, "Chris Keller" <firstname.lastname@example.org>
Date: Mon, 8 Mar 2004 18:17:57 -0800
your proposal. Shall we open an issue for this?
-----Original Message----- From: Alex Yiu
[mailto:email@example.com] Sent: Monday, March 08, 2004 2:29
PM To: Chris Keller Cc: 'Muruga Chinnananchi';
firstname.lastname@example.org; ALEX.YIU@oracle.com Subject: Re:
[wsbpel] assign query without part?
Thanks for pointing out of the relevant text in Section 9.2.
The third entry should look more like: if the variable is declared
based on a XSD-qualified-type (simple type), query is not applicable.
And, yes, both sections 14.1 Expressions and 14.3
Assignment needs similar clarifications.
Regards, Alex Yiu
Chris Keller wrote:
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
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
“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
what you guys mean now. I overlooked "the entire part" phrase from the
spec. "with '/' meaning the root of the document fragment
representing the entire part"
That phrase is probably
problematic for non-WSDL msg variables. That phrase or that sentence or even
that paragraph may need to be refined for variables based on
XSD-Qualified-Type or XSD-Qualified-Element.
We may want to have a
clear "switch-case" statement in the spec: (something like)
---------------------------- if the variable is declared based on a
WSDL 1.1 message type, both part and query are applicable. if the
variable is declared based on a XSD-qualified-element, query is applicable
but part is not applicable. if the variable is declared based on a
XSD-qualified-type (simple type or complex type), query is not applicable.
When the query language is an XPath, it MUST always start with '/',
which means the root of the document which contains the corresponding entire
part of a WSDL message variable or the XSD qualified-element variable.
[Actually, IMHO, a BPEL declared
based on a XSD complex type (as opposed to a XSD qualified element) is
ill-defined. We may want to make it illegal explicitly in BPEL spec for