atom feed41 messages in org.oasis-open.lists.wsbpelRE: [wsbpel] Issue - 157 - Proposal F...
FromSent OnAttachments
Yaron Y. GolandMay 26, 2005 12:54 pm 
Danny van der RijnMay 27, 2005 1:42 pm 
Ugo CordaMay 28, 2005 2:43 pm 
Alex YiuMay 28, 2005 4:39 pm 
Yaron Y. GolandMay 31, 2005 2:27 pm 
Ugo CordaMay 31, 2005 4:27 pm 
Ugo CordaMay 31, 2005 5:53 pm 
Assaf ArkinJun 1, 2005 10:45 pm.bin
Alex YiuJun 2, 2005 9:06 am 
Charlton BarretoJun 2, 2005 9:29 am 
Satish ThatteJun 2, 2005 10:51 pm 
Satish ThatteJun 2, 2005 10:52 pm 
Ugo CordaJun 3, 2005 8:17 am 
Ron Ten-HoveJun 3, 2005 8:23 am.bin
Alex YiuJun 3, 2005 8:33 am 
Danny van der RijnJun 3, 2005 9:03 am 
Assaf ArkinJun 3, 2005 9:29 am.bin
Satish ThatteJun 3, 2005 11:35 pm 
Yuzo FujishimaJun 4, 2005 8:11 am 
Satish ThatteJun 4, 2005 3:49 pm 
Yuzo FujishimaJun 5, 2005 6:22 pm 
Alex YiuJun 5, 2005 10:18 pm 
Ugo CordaJun 6, 2005 1:51 pm 
Yaron Y. GolandJun 6, 2005 3:49 pm 
Alex YiuJun 6, 2005 4:15 pm 
Alex YiuJun 6, 2005 4:20 pm 
Harvey G. ReedJun 6, 2005 4:59 pm 
Ugo CordaJun 6, 2005 5:25 pm 
Ugo CordaJun 6, 2005 5:41 pm 
Ugo CordaJun 6, 2005 7:38 pm 
Alex YiuJun 6, 2005 8:59 pm 
Yuzo FujishimaJun 6, 2005 9:07 pm 
Satish ThatteJun 6, 2005 11:02 pm 
Alex YiuJun 7, 2005 12:18 am 
Alex YiuJun 7, 2005 2:05 am 
Yuzo FujishimaJun 7, 2005 4:54 am 
Yaron Y. GolandJun 7, 2005 9:06 am 
Charlton BarretoJun 7, 2005 9:41 am 
Satish ThatteJun 7, 2005 11:00 am 
Ron Ten-HoveJun 7, 2005 11:54 am 
Danny van der RijnJun 7, 2005 4:01 pm 
Subject:RE: [wsbpel] Issue - 157 - Proposal For Vote
From:Satish Thatte (sati@microsoft.com)
Date:Jun 4, 2005 3:49:50 pm
List:org.oasis-open.lists.wsbpel

Yuzo,

Thanks for the example. I will study it. It seems to me that you have used XPath variable binding in the template, which assumes that our current Xpath variable binding mechanism would carry over without additional work. Is that your understanding?

Satish

________________________________

From: Yuzo Fujishima [mailto:fuji@bc.jp.nec.com] Sent: Sat 6/4/2005 8:11 AM To: Satish Thatte; wsbpeltc Cc: Assaf Arkin; Danny van der Rijn; Charlton Barreto Subject: Re: [wsbpel] Issue - 157 - Proposal For Vote

I don't quite see what are the problems.

I've written an example and attached the files used. (Apply assign.xsl to var1.xml. Then you'll get newVar1.xml.)

Suppose we want to assign from var2 and var3 to var1.

In that case, we write something similar to assign.xsl (excluding the variable binding part) within an assign activity. Perhaps we should rename the activity to "transform".

The activity should look like below:

<transform variable="var1"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="orderNumber"> <xsl:element name="orderNumber"> <xsl:value-of select="$var2/purchaseOrder/orderNumber"/> </xsl:element> </xsl:template> <xsl:template match="billingAddress"> <xsl:element name="billingAddress"> <xsl:copy-of select="$var3/customers/customer[ @id=$var2/purchaseOrder/buyerId]/address/*"/> </xsl:element> </xsl:template> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet> </transform>

Those parts of var1 that need not be modified are copied by <xsl:template match="@*|node()"> template. Pretty simple and idiomatic.

I noticed that the use of XSLT may sometimes result in more efficient (rather than inefficient) processing because multiple assigns can be bunched together to form one transformation.

How do you like above?

Satish Thatte wrote:

Alex has pointed out various technical difficulties he sees with using XSLT to resolve 157, privately to some of us at the F2F. The principal one being that XSLT templates costruct new XML documents rather than update existing ones. According to Alex, doing anything else requires non-standard usage of XSLT. I am no XSLT expert so I am looking for confirmation or otherwise of Alex's position. If he is right then we are stuck with doing 157 as far as I can see. I would much prefer not to add features to BPEL for any XML data manipulation, but we have assignment/copy today and we have voted not to remove them so the only other option is to find a way to use some existing XML data manipulation spec as normative with the usual extensibility. XPath is what we have used in copy but that seems to require the sort of xII rules that the current 157 proposals specify.

If someone has a simpler way to resolve this I am all ears.

________________________________

From: Assaf Arkin [mailto:ark@intalio.com] Sent: Fri 6/3/2005 9:28 AM To: Danny van der Rijn Cc: Satish Thatte; Charlton Barreto; wsbpeltc Subject: Re: [wsbpel] Issue - 157 - Proposal For Vote

I wouldn't rule out that we closed issue 48 because the scope was a bit more generic, and from the issue list, apparently because 13 solves the problem. So given issue 13 you can incorporate XSLT into BPEL as a proprietary extension.

The problem we're facing is how to handle simple assignments as a normalized part of the spec, which 48/13 do not cover. I, for one, am not interested in re-inventing the wheel, so in this particular context I have no problem revisiting issue 48 or resolving this as part of issue 157, whichever is more convenient.

What you're proposing, Satish, sounds like Issue 48, which was rejected in April of 2004. I'd be happy to revisit it, but I'm not sure how others feel.

Satish Thatte wrote:

Wonderful. I didn't see this mail before sending mine.

+1

________________________________

From: Charlton Barreto [mailto:cbar@adobe.com]

Sent: Thu 6/2/2005 9:29 AM To: Assaf Arkin Cc: wsbpeltc Subject: Re: [wsbpel] Issue - 157 - Proposal For Vote

I second this proposal. I feel that we should delegate the problem scoped by issue 157 by leveraging another spec which is actually focussed on it, rather than attempting to invest the considerable amount of time and energy necessary to address it in BPEL. On 01/06/2005, at 16:08, Assaf Arkin wrote:

I want to propose an alternative way to solve issue 157, without introducing significant complexity to the language.

The XSLT specification has been dealing with the exact same problem of evaluating an expression and placing the results in a target context. XSLT provides two separate mechanisms: copy-of and value-of. I would propose using these two XSLT elements as a normative part of the BPEL specification, instead of inventing yet another copy mechanism.

http://www.w3.org/TR/xslt#copy-of http://www.w3.org/TR/xslt#value-of

Assaf ||

<arkin.vcf>

Charlton Barreto

P 1.408.536.4496

cbar@adobe.com

www.adobe.com <http://www.adobe.com/> logo.gif