Hi. Couldn't reply on your site as reply form seems to be broken.<br><br>I've tried compiling a UTF-8 template file. Hoorah! :) It works just fine<br><br>However, it wouldn't work if<br><%? [What, Where, Objects, Action] = Data %>
<br>wasn't the first line of the template.<br><br>Even inserting a newline before that would result in the following error:<br><br> {error,{misplaced_top_expression,{line,2},<br> "<%? [What, Where, Objects, Action] = Data %>\r
<br> "}}<br><br>This error appeared for both ASCII and UTF-8 files.<br><br>I wonder if I should have reported this as a bug instead of polluting the maillist...<br><br><div><span class="gmail_quote">On 10/17/06, <b class="gmail_sendername">
Yariv Sadan</b> <<a href="mailto:yarivvv@gmail.com">yarivvv@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I created a simple template language called ErlTL that makes it easy<br>to embed Erlang expressions in large amounts of textual binary data.<br>It compiles template files into .beam files for good performance, and
<br>it gives line-precise error reporting. For more information, visit<br><br><a href="http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language">http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language
</a><br><br>You can get it here<br><br><a href="http://code.google.com/p/erltl">http://code.google.com/p/erltl</a><br><br>Please let me know if you have any problems or suggestions!<br><br>Thanks<br>Yariv<br>_______________________________________________
<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions
</a><br></blockquote></div><br>