[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: [BUG REPORT] WML 2.0.8, Linux Mandrake 8.1




Hi Denis,

On Mon, 22 Apr 2002, Denis Barbier wrote:
> > | aSubstError: invalid number of opening and closing delimiters

> this means that {: and :} did not match. Maybe these delimiters are used
> in some of your input files?

Yes, they are (see in the attached wml-file). Is there a way to escape
these delimiters and to transform the included files before they are
interpreted by WML?

> It would indeed help.  If it is large, send it to me by private e-mail.

Thanks for your help,

Bye, Oliver
#!wml -o(ALL-LANG_*)+LANG_EN:%BASE.en.html -o(ALL-LANG_*)+LANG_DE:%BASE.de.html
#use wml::all

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

  <lang:new id=en short>
  <lang:new id=de short>

  <page bgcolor="#000000" title="[99 Bottles of Beer] - Section 0-9" 
        text="#000000">

    <table border="0" width="850" cellspacing="1"
           align="center" bgcolor="#ffffff">
      <tr>
        <td colspan="16"><gfont size="4" face="Helvetica" color="#333366">99 Bottles of Beer</gfont><br>
            <de><gfont size="1" face="Helvetica" color="#000000">Ein Programm in 242 Programmiersprachen</gfont></de>
            <en><gfont size="1" face="Helvetica" color="#000000">One program in 242 languages</gfont></en></td>
        <td colspan="11" align="center"><!--#include virtual="/cgi-bin/banner.cgi" --></td>
      </tr>

      <tr<td colspan="27">&nbsp;</td></tr>

      <tr><td bgcolor="#cccccc">&nbsp;</td>
          <td bgcolor="#333366" colspan="25">&nbsp;</td>
          <td bgcolor="#cccccc">&nbsp;</td>
      </tr>

      <tr>
        <td align="center" bgcolor="#ffffff" colspan="27">
         [<a href="mailto:new99bottles@ls-la.net"><de>Neues Beispiel beitragen</de><en>Submit new example</en></a>]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         [<de>G&auml;stebuch</de><en>Guestbook</en>]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         [<de>Hintergrund</de><en>History</en>]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         [<de>Links</de><en>Links</en>]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         [<a href="http://www.amazon.de/exec/obidos/wishlist/BIJFWBBZQMU7/ref%3Dwl%5Fs%5F3/028-5423608-9369323"><de>Danke, Oliver</de><en>Thanks, Oliver</en></a>]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       </td>
     </tr>

      <tr>
        <td align="left" bgcolor="#333366" 
            colspan="27"><font 
                     color="#ffffff"><de>Programmiersprachen mit Anfangsbuchstaben:</de><en>Choose languages starting with letter:</en></font></td>
      </tr>
        <tr>
          <td width="31" align="center" bgcolor="#ffffff"><a href="0-9.html">0-9</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="a.html">A</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="b.html">B</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="c.html">C</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="d.html">D</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="e.html">E</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="f.html">F</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="g.html">G</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="h.html">H</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="i.html">I</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="j.html">J</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="k.html">K</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="l.html">L</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="m.html">M</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="n.html">N</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="o.html">O</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="p.html">P</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="q.html">Q</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="r.html">R</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="s.html">S</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="t.html">T</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="u.html">U</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="v.html">V</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="w.html">W</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="x.html">X</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="y.html">Y</a></td>
          <td width="31" align="center" bgcolor="#cccccc"><a href="z.html">Z</a></td>
        </tr>
        <tr>
          <td colspan="27">
<a href="#00Babbage's-analytical-machine">00Babbage's&nbsp;analytical&nbsp;machine</a>&nbsp;&nbsp;
<a href="#00BASIC">00BASIC</a>&nbsp;&nbsp;
<a href="#00BC-for-unix">00BC&nbsp;for&nbsp;unix</a>&nbsp;&nbsp;
<a href="#00BCPL">00BCPL</a>&nbsp;&nbsp;
<a href="#00BefDC">00BefDC</a>&nbsp;&nbsp;
<a href="#00Befunge">00Befunge</a>&nbsp;&nbsp;
<a href="#00Beta">00Beta</a>&nbsp;&nbsp;
<a href="#00Blank">00Blank</a>&nbsp;&nbsp;
<a href="#4DOS-Batch">4DOS&nbsp;Batch</a>&nbsp;&nbsp;
<a href="#4Test">4Test</a>&nbsp;&nbsp;
          </td>
        </tr>
<tr bgcolor><td colspan=27>&nbsp;</td></tr>
    <tr bgcolor=#cccccc>
       <td bgcolor="#333366">&nbsp;</td>
       <td colspan="26"><de>Programmiersprache:</de><en>Programming language:</en> <a name="00Babbage's-analytical-machine">00Babbage's&nbsp;analytical&nbsp;machine</a></td>
    </tr>
<tr>
<td bgcolor="#cccccc">&nbsp;</td>
<td colspan="26"><tt> 
This is a custom language project.  The compiler is available at &lt;a href=http://www.sound.net/~aturley/blank.htm&gt;http://www.sound.net/~aturley/blank.htm&lt;/a&gt;
99 Bottles of Beer
Written in Blank
by Andrew Turley

[99] bottles of beer
{#} pop the last calling cell
[20]{&gt;} call &quot;x bottles of beer on the wall,&quot;
[65]{&gt;} call &quot;x bottles of beer.&quot;
[98]{&gt;} call &quot;Take one down, pass it around,&quot;
{:}[1]{-}{!}[7]{\}{|} if bottles of beer is not 1
[124]{&gt;} call &quot;x-1 bottles of beer on the wall!&quot;
{?}[19]{-}{&gt;} go back to the beginning of the program

[157]{&gt;} otherwise goto &quot;No bottles of beer on the wall!&quot;

&quot;x bottles of beer on the wall,&quot; :36+11
{:}{.} print bottles of beer
[0] string termination
[10] &quot;\n&quot;
[44][108][108][97][119][32][101][104][116][32][110][111][32] &quot;,llaw
eht no &quot; [114][101][101][98][32][102][111][32] &quot;reeb fo &quot;
[24]{^}[1]{-}[4]{\}{!}{|} [115] &quot;s&quot; [1]{&gt;}{#}
[101][108][116][116][111][98][32] &quot;elttob &quot; [34]{&gt;} call the printing
part of the program {&lt;} return to calling cell

&quot;x bottles of beer.&quot; :24+11
{:}{.} print bottles of beer
[0] string termination
[10] &quot;\n&quot;
[46][114][101][101][98][32][102][111][32] &quot;.reeb fo &quot;
[12]{^}[1]{-}[4]{\}{!}{|}
[115] &quot;s&quot;
[1]{&gt;}{#}
[101][108][116][116][111][98][32] &quot;elttob &quot;
[34]{&gt;} call the printing part of the program
{&lt;} return to calling cell

&quot;Take one down, pass it around&quot; :35
[0] string termination
[10] &quot;\n&quot;
[44][100][110][117][111][114][97][32][116][105][32] &quot;,dnuora ti &quot;
[115][115][97][112][32][44][110][119][111][100][32] &quot;ssap ,nwod &quot;
[101][110][111][32][101][107][97][84] &quot;eno ekaT&quot; [38]{&gt;} goto the
printing part of the program {&lt;} return to calling cell

&quot;x-1 bottles of beer on the wall!&quot; :38
[1]{-}{:}{.} (print bottles of beer)-1
[0] string termination
[10] &quot;\n&quot;
[10] &quot;\n&quot;
[33][108][108][97][119][32][101][104][116][32][110][111][32] &quot;!llaw
eht no &quot; [114][101][101][98][32][102][111][32] &quot;reeb fo &quot;
[115][101][108][116][116][111][98][32] &quot;selttob &quot; [38]{&gt;} goto the
printing part of the program {&lt;} return to calling cell


&quot;No bottles of beer on the wall!&quot;, terminating part of program :36 [0]
string termination [10] &quot;\n&quot;
[33][108][108][97][119][32][101][104][116][32][110][111][32] &quot;!llaw
eht no &quot; [114][101][101][98][32][102][111][32] &quot;reeb fo &quot;
[115][101][108][116][116][111][98][32][111][78] &quot;selttob oN&quot; [9]{&gt;}
goto the printing part of the program {@} exit program

printing part of the program :13

{:}[7]{\}{!}{|}{#}{,}{?}[10]{-}{&gt;} print the top of the stack until 0
{#} ppop the call {#} ppop the if {$} pop the 0 {&lt;} return to calling
cell


</tt></td>
</tr>
<tr bgcolor><td colspan=27>&nbsp;</td></tr>
</table>