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: [wsbpel] Issue - 102 - Fixing Typos in getVariable*() in BPEL


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

Status: open
Date added: 9 Mar 2004
Submitter: Alex Yiu <mailto:alex.yiu@oracle.com> 
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_workgr
oup.php.

------=_NextPart_000_0051_01C40C09.05DD1370
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40";>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C40C09.0393BFB0";>
<link rel=3DEdit-Time-Data href=3D"cid:editdata.mso@01C40C09.0393BFB0";>
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"time"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"date"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
h2
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:2;
	font-size:18.0pt;
	font-family:"Times New Roman";
	font-weight:bold;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt =
412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
	font-size:10.0pt;
	font-family:"Courier New";
	mso-fareast-font-family:"Times New Roman";}
span.EmailStyle19
	{mso-style-type:personal-reply;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:navy;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dblue style=3D'tab-interval:.5in'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>In <span class=3DSpellE>XPath</span> 1.0 default =
namespaces
are not used for <span class=3DSpellE>QName</span> expansion and so the =
functions
in our examples should always contain the <span =
class=3DSpellE>bpws</span>:
prefix and <span class=3DSpellE>xmlns<span =
class=3DGramE>:bpws</span></span> should
be explicitly declared.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>From
Section 2.3 of <span class=3DSpellE>XPath</span> 1.0 =
specification:<o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>&quot;A
<span class=3DSpellE>QName</span> 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 <span =
class=3DSpellE>xmlns</span>
is not used: if the <span class=3DSpellE>QName</span> 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 <span class=3DSpellE>QName</span> has a =
prefix
for which there is no namespace declaration in the expression =
context.&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-layout-grid-align:none;text-autospace:none'><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Chris<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> ws-bpel issues list =
editor
[mailto:peter.furniss@choreology.com<span class=3DGramE>] <br>
<b><span style=3D'font-weight:bold'>Sent</span></b></span><b><span
style=3D'font-weight:bold'>:</span></b> </span></font><st1:date =
Month=3D"3" Day=3D"9"
Year=3D"2004"><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:
 Tahoma'>Tuesday, March 09, 2004</span></font></st1:date><font size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> =
</span></font><st1:time
Hour=3D"10" Minute=3D"24"><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
 font-family:Tahoma'>10:24 AM</span></font></st1:time><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'><br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
wsbpel@lists.oasis-open.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [wsbpel] Issue - =
102 -
Fixing Typos in getVariable*() in BPEL examples</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p style=3D'margin-left:.5in'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>This issue has been added to the wsbpel issue =
list.
The issues list is posted as a Technical Committee document to the <a
href=3D"http://www.oasis-open.org/apps/org/workgroup/wsbpel";>OASIS =
WSBPEL TC
pages</a> on a regular basis. The current edition, as a TC document, is =
the
most recent document with the title in the &quot;Issues&quot; folder of =
the <a
href=3D"http://www.oasis-open.org/apps/org/workgroup/wsbpel/documents.php=
">WSBPEL
TC document list</a> - 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 <a
href=3D"http://www.choreology.com/external/WS_BPEL_issues_list.html";>this=

constant URL</a>. <o:p></o:p></span></font></p>

<h2 style=3D'margin-left:.5in'><b><font size=3D5 face=3D"Times New =
Roman"><span
style=3D'font-size:18.0pt'>Issue - 102 - Fixing Typos in getVariable*() =
in BPEL
examples<o:p></o:p></span></font></b></h2>

<p class=3DMsoNormal style=3D'margin-left:.5in'><b><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;font-weight:bold'>Status:</span></font></b>
open<br>
<b><span style=3D'font-weight:bold'>Date added:</span></b> 9 Mar =
2004<br>
<b><span style=3D'font-weight:bold'>Submitter:</span></b> <a
href=3D"mailto:alex.yiu@oracle.com";>Alex Yiu</a><br>
<b><span style=3D'font-weight:bold'>Date submitted:</span></b> 08 March =
2004<br>
<b><span style=3D'font-weight:bold'>Description:</span></b> There seem =
to be
typos in our BPEL examples <o:p></o:p></p>

<pre style=3D'margin-left:.5in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre
style=3D'margin-left:.5in'><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&quot;bpws:getVariableProperty(stockResult,lev=
el) &gt; 100&quot;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:.5in'><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&quot;bpws:getVariableProperty(stockResult,lev=
el) &gt;=3D 0&quot;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:.5in'><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&quot;bpws:getVariableData(orderDetails) &gt; =
100&quot;<o:p></o:p></span></font></pre>

<p style=3D'margin-left:.5in'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>We need to put quotations on function =
parameters. <o:p></o:p></span></font></p>

<p style=3D'margin-left:.5in'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>It becomes like: =
<o:p></o:p></span></font></p>

<pre style=3D'margin-left:.5in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre
style=3D'margin-left:.5in'><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&quot;bpws:getVariableProperty('stockResult','=
level') &gt; 100&quot;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:.5in'><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&quot;bpws:getVariableProperty('stockResult','=
level') &gt;=3D 0&quot;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:.5in'><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&quot;bpws:getVariableData('orderDetails') =
&gt; 100&quot;<o:p></o:p></span></font></pre>

<p style=3D'margin-left:.5in'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>In some of the examples the &quot;bpws:&quot; =
is
actually extra and incorrect. The prefix-namespace mapping of a function =
call
in XPath typically inherited from that of the hosting element.<br>
<b><span style=3D'font-weight:bold'>Changes:</span></b> 9 Mar 2004 - new =
issue<o:p></o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter =
style=3D'margin-left:.5in;text-align:center'><font
size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D3 width=3D"100%" align=3Dcenter>

</span></font></div>

<p style=3D'margin-left:.5in'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>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 <b><span =
style=3D'font-weight:bold'>starts</span></b>
&quot;Issue - 102 - [anything]&quot; or is a reply to such a message. =
<o:p></o:p></span></font></p>

<p style=3D'margin-left:.5in'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>To add a new issue, see the issues procedures =
document
(but the address for new issue submission is the sender of this =
announcement). <o:p></o:p></span></font></p>

</div>

</body>

</html>
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_workgro=
up.php.
------=_NextPart_000_0051_01C40C09.05DD1370--



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