<div>Hi,</div><div><br></div>I&#39;ve finally got round to fixing Seafox [1] and it will now correctly translate:<div><br></div><div><span class="Apple-style-span" style="font-family:arial,sans-serif;font-size:13px"><pre style="font-size:12px;white-space:pre-wrap;max-width:80em;padding-left:0.7em">
&lt;section&gt;
 &lt;header&gt;
  &lt;h1&gt;foo&lt;/h1&gt;
 &lt;/header&gt;
 &lt;p&gt;bar&lt;/p&gt;
&lt;/section&gt;</pre></span><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><div>
The translation issue was caused by Seafox&#39;s simply string comparison failing as WAHtmlCanvas&gt;&gt;#section and WAHtmlCanvas&gt;&gt;#header had a superfluous white space - a CR - at the end of their string. </div></span><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">The following tags where effected:</span><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><div>
<br></div><div><div><div>summary</div><div>header</div><div>section</div><div>footer</div></div></div><div><br></div></span>I&#39;ve made Seafox a little more resilient using <span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">#withoutTrailingBlanks</span> and the extra space has been removed from the these tags in the latest canvas [2] - see:</div>
<div><span class="Apple-style-span" style="font-family:arial,sans-serif;font-size:13px"><pre style="font-size:12px;white-space:pre-wrap;max-width:80em;padding-left:0.7em">Name: Seaside-HTML5-pmm.28
Author: pmm
Time: 24 January 2012, 7:30:51 am
UUID: 75c03738-39b6-4138-8857-2fd11a8ebb32
Ancestors: Seaside-HTML5-NickAger.26</pre></span></div><div><div><br></div><div>[1] <a href="http://seafox.seasidehosting.st/" target="_blank">http://seafox.seasidehosting.<u></u>st/</a> </div><div>[2] <a href="https://code.google.com/p/seaside/issues/detail?id=701">https://code.google.com/p/seaside/issues/detail?id=701</a></div>
<div><br></div><div>Nick</div><div><br></div><div><br><div class="gmail_quote">On 20 January 2012 16:36, Nick Ager <span dir="ltr">&lt;<a href="mailto:nick.ager@gmail.com">nick.ager@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Paul, Stefan,<div><br></div><div>Hmmm, that seems more like a bug with Seafox - I&#39;ll try to have a look this weekend and put a new version up</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div>
<span class="HOEnZb"><font color="#888888">Nick</font></span><div><div class="h5"><br><br><div class="gmail_quote">On 20 January 2012 16:29, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com" target="_blank">pdebruic@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I uploaded a package to the Seaside issues list that fixes this issue.<br>
<br>
Its here:  <a href="https://code.google.com/p/seaside/issues/detail?id=701" target="_blank">https://code.google.com/p/<u></u>seaside/issues/detail?id=701</a><div><div><br>
<br>
<br>
On 12-01-20 07:05 AM, Stefan Scholl wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Nick Ager&lt;<a href="mailto:nick.ager@gmail.com" target="_blank">nick.ager@gmail.com</a>&gt;  wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Nick Ager&lt;<a href="mailto:nick.ager@gmail.com" target="_blank">nick.ager@gmail.com</a>&gt;  wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and there is always seafox to help you translate:<br>
<a href="http://seafox.seasidehosting.st/" target="_blank">http://seafox.seasidehosting.<u></u>st/</a><br>
</blockquote>
<br>
Doesn&#39;t support HTML5 (only as unkown elements), but helps to<br>
port some structures.<br>
</blockquote>
<br>
Strange - it should support all the Html elements and attributes Seaside<br>
supports. Is there some specific html that it hasn&#39;t translated correctly?<br>
</blockquote>
<br>
<br>
&lt;section&gt;<br>
  &lt;header&gt;<br>
   &lt;h1&gt;foo&lt;/h1&gt;<br>
  &lt;/header&gt;<br>
  &lt;p&gt;bar&lt;/p&gt;<br>
&lt;/section&gt;<br>
<br>
===&gt;<br>
<br>
&quot;Unrecognised element &#39;section&#39;&quot;<br>
(html tag: &#39;section&#39;) with:[<br>
        &quot;Unrecognised element &#39;header&#39;&quot;<br>
        (html tag: &#39;header&#39;) with:[<br>
                html heading level: 1; with: &#39;foo&#39; ].<br>
        html paragraph: &#39;bar&#39; ]<br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<u></u>org/cgi-bin/mailman/listinfo/<u></u>seaside</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<u></u>org/cgi-bin/mailman/listinfo/<u></u>seaside</a><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>