<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[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]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Makes sense for me. The week starting Feb28 would be good. If that works for everyone else, I can organize a room. I'm flexible that week. Let me know which days work for you.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Best,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-- Axel<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> furcas-discussion-bounces@lists.furcas.org [mailto:furcas-discussion-bounces@lists.furcas.org] <b>On Behalf Of </b>Thomas Goldschmidt<br><b>Sent:</b> Monday, February 14, 2011 8:36 AM<br><b>To:</b> furcas-discussion<br><b>Subject:</b> Re: [furcas-discussion] Reference Re-Evaluation Algorithm<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Sounds like a plan, should we schedule an on-site meeting for that? What do you think?</span><o:p></o:p></p><table class=MsoNormalTable border=0 cellpadding=0><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><img id="_x0000_i1025" src="cid:image001.gif@01CBCC30.4C740700"><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal>&nbsp; <o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'>Thomas Goldschmidt </span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif"'><br><br>ABB AG<br>Forschungszentrum<br>Wallstadter Straße 59<br>68526 Ladenburg<br>Office Phone: +49 6203 716134<br>Office Fax: +49 6203 716253<br>e-mail:<span style='color:blue'> thomas.goldschmidt@de.abb.com</span></span><o:p></o:p></p></td></tr></table><p class=MsoNormal style='margin-bottom:12.0pt'><br><br><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:gray'>ABB AG<br>Sitz/Head Office: Mannheim <br>Registergericht/Registry Court: Mannheim<br>Handelsregisternummer/Commercial Register No.: HRB 4664<br>Geschäftsführung/Managing Board: Peter Smits (Vorsitzender), Joachim Schneider, Markus Ochsner, Hans-Georg Krabbe<br>Vorsitzender des Aufsichtsrats/Chairman of Supervisory Board: Bernhard Jucker<br><br>Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. <br><br>This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.</span> <br><br><o:p></o:p></p><table class=MsoNormalTable border=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td width="40%" valign=top style='width:40.0%;padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Axel Uhl &lt;axel.uhl@gmx.de&gt;</span></b><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'> </span><br><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Sent by: furcas-discussion-bounces@lists.furcas.org</span> <o:p></o:p></p><p><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>11.02.2011 20:57</span> <o:p></o:p></p></td><td width="59%" valign=top style='width:59.0%;padding:.75pt .75pt .75pt .75pt'><table class=MsoNormalTable border=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal align=right style='text-align:right'><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>To</span><o:p></o:p></p></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Stephan Erb &lt;stephan@dev.static-void.de&gt;</span> <o:p></o:p></p></td></tr><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal align=right style='text-align:right'><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>cc</span><o:p></o:p></p></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>furcas-discussion &lt;furcas-discussion@lists.furcas.org&gt;</span> <o:p></o:p></p></td></tr><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal align=right style='text-align:right'><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Subject</span><o:p></o:p></p></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Re: [furcas-discussion] Reference Re-Evaluation Algorithm</span><o:p></o:p></p></td></tr></table><p class=MsoNormal><o:p>&nbsp;</o:p></p><table class=MsoNormalTable border=0 cellpadding=0><tr><td valign=top style='padding:.75pt .75pt .75pt .75pt'></td><td valign=top style='padding:.75pt .75pt .75pt .75pt'></td></tr></table></td></tr></table><p class=MsoNormal><br><br><br><tt><span style='font-size:10.0pt'>+1</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><br><tt>On 02/11/2011 08:35 PM, Stephan Erb wrote:</tt><br><tt>&gt; Hey Axel,</tt><br><tt>&gt;</tt><br><tt>&gt; I have no clue. Your proposal sounds reasonable to me but I wouldn't bet</tt><br><tt>&gt; on it, given the fact that sometimes TextBlocks are merged if they don't</tt><br><tt>&gt; contribute to the concrete syntax.</tt><br><tt>&gt;</tt><br><tt>&gt; This discussion somewhat implies to me that we are wasting our energy:</tt><br><tt>&gt; Our second-most important data structure, the TextBlocks model, is so</tt><br><tt>&gt; complex and underspecified that we constantly struggle with it.</tt><br><tt>&gt;</tt><br><tt>&gt; I would suggest that we try to redesign the TextBlocks model so that it</tt><br><tt>&gt; is easier to handle. For example, each TextBlock could have exactly one</tt><br><tt>&gt; corresponding ModelElement. If TextBlocks contain no concrete syntax,</tt><br><tt>&gt; then they would simply have no subnodes. &nbsp;I guess we can think of even</tt><br><tt>&gt; more simplifications.</tt><br><tt>&gt;</tt><br><tt>&gt; This is additional short term effort, but I am very sure it is a</tt><br><tt>&gt; worthwhile investment.</tt><br><tt>&gt;</tt><br><tt>&gt;</tt><br><tt>&gt; Best Regards,</tt><br><tt>&gt; Stephan</tt><br><tt>&gt;</tt><br><tt>&gt;</tt><br><tt>&gt; On Fri, 2011-02-11 at 17:19 +0100, Uhl, Axel wrote:</tt><br><tt>&gt;&gt; Stephan,</tt><br><tt>&gt;&gt;</tt><br><tt>&gt;&gt; thinking about this again suggest something else. I don't think we want to rely on the token's referencedElements to be set in order to determine whether the token is the one that belongs to the update notification received. The token may be stale anyway because it was in some remote resource that didn't get updated upon an earlier change.</tt><br><tt>&gt;&gt;</tt><br><tt>&gt;&gt; Instead, we should be looking for the token's parent text blocks. They should lead to a text block, ultimately, whose corresponding model element is the one to be updated with the resolution of the token, shoulnd't it?</tt><br><tt>&gt;&gt;</tt><br><tt>&gt;&gt; I'm just uncertain again how the LexedToken may be nested inside TextBlocks. Can I assume that the LexedToken's getParent() is the template that has in its correspondingModelElements the element to be updated with the property?</tt><br><tt>&gt;&gt;</tt><br><tt>&gt;&gt; -- Axel</tt><br><tt>&gt;&gt;</tt><br><tt>&gt;&gt;&gt; -----Original Message-----</tt><br><tt>&gt;&gt;&gt; From: furcas-discussion-bounces@lists.furcas.org [mailto:furcas-</tt><br><tt>&gt;&gt;&gt; discussion-bounces@lists.furcas.org] On Behalf Of Stephan Erb</tt><br><tt>&gt;&gt;&gt; Sent: Friday, February 11, 2011 3:12 PM</tt><br><tt>&gt;&gt;&gt; To: furcas-discussion</tt><br><tt>&gt;&gt;&gt; Subject: Re: [furcas-discussion] Reference Re-Evaluation Algorithm</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt;&gt;&gt; PS: Thomas, we might need your help with all this textblocks magic</tt><br><tt>&gt;&gt;&gt;&gt;&gt; (e.g.</tt><br><tt>&gt;&gt;&gt;&gt;&gt; find out if a reference is still bound). Expect some questions on</tt><br><tt>&gt;&gt;&gt; the</tt><br><tt>&gt;&gt;&gt;&gt;&gt; mailing list rather soon :-)</tt><br><tt>&gt;&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt;&gt; I found that out myself. In this case it was an easy reverse lookup</tt><br><tt>&gt;&gt;&gt; on DocumentNode_SequenceElement using the OppositeEndFinder API.</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt; Hi Axel,</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt; I just had a (very) short look at the OCLQueryPropertyUpdate. Is there</tt><br><tt>&gt;&gt;&gt; a</tt><br><tt>&gt;&gt;&gt; reason why the 'referencedElements' aren't checked anywhere? I always</tt><br><tt>&gt;&gt;&gt; thought that those entail the crucial information whether a token is</tt><br><tt>&gt;&gt;&gt; bound to something or not.</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt; Example from the MOIN code base where used them:</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp;private Collection&lt;?&gt; &nbsp;findCurrentlySetElements(DelayedReference</tt><br><tt>&gt;&gt;&gt; unresolvedRef, ModelInjector modelInjector,</tt><br><tt>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LexedToken tokenInCurrentConnection) throws</tt><br><tt>&gt;&gt;&gt; ModelAdapterException {</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Collection&lt;?&gt; &nbsp;valueCollection =</tt><br><tt>&gt;&gt;&gt; modelInjector.getModelAdapter().get(unresolvedRef.getModelElement(),</tt><br><tt>&gt;&gt;&gt; unresolvedRef.getPropertyName());</tt><br><tt>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (tokenInCurrentConnection != null) {</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt; valueCollection.retainAll(tokenInCurrentConnection.getReferencedElement</tt><br><tt>&gt;&gt;&gt; s());</tt><br><tt>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</tt><br><tt>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return valueCollection;</tt><br><tt>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp;}</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt; Best,</tt><br><tt>&gt;&gt;&gt; Stephan</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt;</tt><br><tt>&gt;&gt;&gt; _______________________________________________</tt><br><tt>&gt;&gt;&gt; Furcas-discussion mailing list</tt><br><tt>&gt;&gt;&gt; Furcas-discussion@lists.furcas.org</tt><br><tt>&gt;&gt;&gt; </tt></span><a href="http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion"><tt><span style='font-size:10.0pt'>http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>&gt;</tt><br><tt>&gt;</tt><br><br><tt>-- </tt><br><tt>Find Security Certificate at </tt></span></a><a href="http://www.axel-uhl.de/cgi-bin/cacert.cgi"><tt><span style='font-size:10.0pt'>http://www.axel-uhl.de/cgi-bin/cacert.cgi</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><br><tt>[attachment &quot;smime.p7s&quot; deleted by Thomas Goldschmidt/DEABB/ABB] _______________________________________________</tt><br><tt>Furcas-discussion mailing list</tt><br><tt>Furcas-discussion@lists.furcas.org</tt><br></span></a><a href="http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion"><tt><span style='font-size:10.0pt'>http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br></span></a><o:p></o:p></p></div></div></body></html>