<br><font size=2 face="sans-serif">Updated proposal based on comments</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
Alan Powell<br>
<br>
 MP 211, IBM UK Labs, Hursley, &nbsp;Winchester, SO21 2JN, England<br>
 Notes Id: Alan Powell/UK/IBM &nbsp; &nbsp; email: alan_powell@uk.ibm.com
&nbsp;<br>
 Tel: +44 (0)1962 815073 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;Fax: +44 (0)1962 816898<br>
</font>
<br><font size=1 color=#800080 face="sans-serif">----- Forwarded by Alan
Powell/UK/IBM on 06/10/2009 18:15 -----</font>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Steve Hanson/UK/IBM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Tim Kimber/UK/IBM@IBMGB</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">Alan Powell/UK/IBM@IBMGB, Suman Kalia/Toronto/IBM@IBMCA,
Mike Beckerle &lt;mbeckerle.dfdl@gmail.com&gt;, Peter Lambros/UK/IBM@IBMGB,
steve.marting@progeny.net</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">30/09/2009 10:31</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: Parsing Rules for resolving points
of uncertainty (speculative &nbsp; &nbsp; &nbsp; &nbsp; parsing)</font></table>
<br>
<hr noshade>
<br>
<br><font size=2 face="sans-serif">Some more comments in here.</font>
<br>
<br><font size=2 face="sans-serif">Steve copied in as will be discussed
on call today.</font>
<br>
<br><font size=2 face="sans-serif">[attachment &quot;Resolving Uncertainty
v1.doc&quot; deleted by Alan Powell/UK/IBM] </font>
<br>
<br><font size=2 face="sans-serif">Regards<br>
<br>
Steve Hanson<br>
Programming Model Architect, WebSphere Message &nbsp;Brokers,<br>
OGF DFDL WG Co-Chair,<br>
Hursley, UK,<br>
Internet: smh@uk.ibm.com,<br>
Phone (+44)/(0) 1962-815848</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Tim Kimber/UK/IBM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Mike Beckerle &lt;mbeckerle.dfdl@gmail.com&gt;</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">Alan Powell/UK/IBM@IBMGB, Suman Kalia
&lt;kalia@ca.ibm.com&gt;, Peter Lambros/UK/IBM@IBMGB, Robert Connolly &lt;rconnoll@us.ibm.com&gt;,
Steve Hanson/UK/IBM@IBMGB</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">28/09/2009 14:20</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: Parsing Rules for resolving points
of uncertainty (speculative &nbsp; &nbsp; &nbsp; &nbsp; parsing)</font></table>
<br>
<hr noshade>
<br>
<br><font size=2 face="sans-serif">re: Mike's point, I would suggest</font>
<br><font size=2 face="sans-serif">- member of a choice group/unordered
group/group containing floating elements: scope of uncertainty is the scope
of the element</font>
<br><font size=2 face="sans-serif">- optional occurrence : parser tries
first to parse another occurrence, and the scope of uncertainty is the
scope of the element. Secondly, parser tries to parse the item following
the element ( which may be a group ) and the scope of uncertainty is the
scope of that element/group.</font>
<br>
<br><font size=2 face="sans-serif">re: Alan's draft, I think the final
para could be replaced with the following two statements:</font>
<br><font size=2 face="sans-serif">- if a processing error is encountered
while parsing an option, the parser will back up and try the next option.
If there are no further options, the processing error will propagate out
to the next enclosing point of uncertainty.</font>
<br><font size=2 face="sans-serif">- a dfdl:assert can be used to trigger
a processing error. If the expression evaluates to false, the parser will
behave exactly as if a normal processing error had been encountered.</font>
<br>
<br><font size=2 face="sans-serif">Wording can probably be improved...</font>
<br>
<br><font size=2 face="sans-serif">regards,<br>
<br>
Tim Kimber, Common Transformation Team,<br>
Hursley, UK<br>
Internet: &nbsp;kimbert@uk.ibm.com<br>
Tel. 01962-816742 &nbsp;<br>
Internal tel. 246742<br>
</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Mike Beckerle &lt;mbeckerle.dfdl@gmail.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Alan Powell/UK/IBM@IBMGB</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">Steve Hanson/UK/IBM@IBMGB, Tim Kimber/UK/IBM@IBMGB,
Robert Connolly &lt;rconnoll@us.ibm.com&gt;, Peter Lambros/UK/IBM@IBMGB,
Suman Kalia &lt;kalia@ca.ibm.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">25/09/2009 21:53</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: Parsing Rules for resolving points
of uncertainty (speculative &nbsp; &nbsp; &nbsp; &nbsp; parsing)</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Some feedback attached.</font>
<br>
<br><font size=3>We need some notion of the region of uncertainty, so we
can discuss where assertions and discriminators have effect, and so we
can say when the uncertainty ends and we no longer consider backtracking
that region just because we finished without processing error.</font>
<br>
<br><font size=3><br>
</font>
<br><font size=3>On Fri, Sep 25, 2009 at 11:51 AM, Alan Powell &lt;</font><a href=mailto:alan_powell@uk.ibm.com><font size=3 color=blue><u>alan_powell@uk.ibm.com</u></font></a><font size=3>&gt;
wrote:</font>
<br><font size=2 face="sans-serif"><br>
Guys &nbsp;(limited distribution initially)</font><font size=3> <br>
<br>
</font><font size=2 face="sans-serif"><br>
I have simplified the previous speculative parsing description into a set
of simple rules.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Discussion points</font><font size=3> </font>
<br><font size=2 face="sans-serif">1. &nbsp; &nbsp; &nbsp; &nbsp;Deemed
to be found rule 1 'All the components of the option are found' could severely
limit the ability to do partial parsing as it includes everything up to
the terminator.</font><font size=3> </font>
<br><font size=2 face="sans-serif">2. &nbsp; &nbsp; &nbsp; &nbsp;Do
all/more the processing errors need to be listed for Not Found rule 3?</font>
<br><font size=3><br>
<br>
</font><font size=2 face="sans-serif"><br>
<br>
Alan Powell<br>
<br>
MP 211, IBM UK Labs, Hursley, &nbsp;Winchester, SO21 2JN, England<br>
Notes Id: Alan Powell/UK/IBM &nbsp; &nbsp; email: </font><a href=mailto:alan_powell@uk.ibm.com target=_blank><font size=2 color=blue face="sans-serif"><u>alan_powell@uk.ibm.com</u></font></a><font size=2 face="sans-serif">
&nbsp;<br>
Tel: +44 (0)1962 815073 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;Fax: +44 (0)1962 816898<br>
</font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
</font><font size=3><br>
</font>
<hr><font size=2 face="sans-serif"><i><br>
</i></font>
<p><font size=2 face="sans-serif"><i>Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU</i></font><font size=3> </font>
<p><font size=2 face="sans-serif"><br>
</font><font size=3><br>
<br>
</font><font size=2 face="sans-serif"><br>
</font>
<p><font size=1 face="sans-serif">[attachment &quot;Resolving Uncertainty
v1.doc&quot; deleted by Tim Kimber/UK/IBM] </font>
<p>
<p><font size=1 face="sans-serif">[attachment &quot;Resolving Uncertainty
v1.doc&quot; deleted by Steve Hanson/UK/IBM] </font>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif"><br>
</font>
<hr><font size=2 face="sans-serif"><br>
<i><br>
</i></font>
<p><font size=2 face="sans-serif"><i>Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU</i></font>
<p><font size=2 face="sans-serif"><br>
<br>
</font>
<br>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif"><br>
</font>
<hr><font size=2 face="sans-serif"><br>
<i><br>
</i></font>
<p><font size=2 face="sans-serif"><i>Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU</i></font>
<p><font size=2 face="sans-serif"><br>
<br>
</font>
<br>
<br><font size=2 face="sans-serif"><br>
</font>