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

Re: mp4h tries to read perl code



On Thu, Nov 08, 2001 at 09:29:52PM +0100, Wolfgang Dautermann wrote:
> Hi all,
> 
> The following small example document:
> #use wml::std::page
> <page>
> <protect pass=2>
> <:
>   print("<a href=\"test\"\>test</a> \n") ;
> :>
> </protect>
> 
> produces an error, if the <protect> statements are omitted. The solution 
> is clear (use the <protect>) but should that be so? Shouldn't mp4h ignore
> all text between "<:" and ":>"? 
[...]

Hi,

mp4h should certainly not ignore ePerl code, otherwise ePerl code could
not depend upon mp4h processing.

A specific solution to your problem is to remove unneeded backslash
before right angle bracket:
   print("<a href=\"test\">test</a> \n") ;

-- 
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com