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

Re: [wml] Re: [wml] Re: c) or d)



*> > In connection with xhtml it might be nice to be able to tell mp4h
*> > to barf on lone <ddd> tags (they should be <ddd/>) ...
*> 
*> What does this verb (`to barf on') mean? My English-French dictionary
*> and babelfish do not know it.
*> FYI mp4h recognizes this syntax.

in xhtml it is invalid to have lone tags like <BR> or <HR> they
musst be called <BR/> and <HR/> resectively ... this makes the
parsing much simpler because there is nomore ambiguity ... I guess
it would be nice to have this functionality in mp4h (as a startup
option)

*> > The only thing which we then need todo for 'magic' stuff where
*> > part of the html tags get generated by perl is a simple 'mp4h quote
*> > tag' which disables mp4h parsing for a stretch of text ... I know
*> > that I can use <protect pass=2> for this but a simple tag pair like
*> > <' '> would make it simpler .... 
*> 
*> I roughly agree, but we have to choose delimiters which cannot appear in
*> Perl code (and in most other programming languages). These lines may
*> appear in Perl code:
*> 
*>    print <<'EOT';                       # is never ended
*> or
*>    open ('> /tmp/foo.$$');              # premature end of quotes
*> 
*> There is no simple solution, protection cannot be automatic, and user
*> must understand what he does.

ok <' was a bad idea ... how about <@@ and @@> :-)

cheers
tobi
*> 
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker@ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

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