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

Re: different behaviour ;-)

On Tue, 30 May 2000, Matthias Bernhardt wrote:

> On Sun, 28 May 2000, Denis Barbier wrote:
> DB> > [...] `buggy', [...]
> DB> 
> DB> With politically correct words, i would rather say that pass 2 in WML
> DB> 2.0.0 had a ``different behaviour''  ;-)
> Sorry, I didn't want to blame you, I just think, that there
> shouldn't be too much "different behaviour" between 2.0.x
> versions on the one hand, but it should become as usable as
> possible in a version number as small as possible. While Numbers
> like 1.99.x _imply_ that things change a lot, one doesn't expect
> that from 2.0.x versions ... I fear WMLs reputation could be
> affected seriously if people start saying that you can't risk
> to use even a "stable" version unless your reading the mailing
> list on a daily base.

You're right, but thinking that version x.0.0 is stable does not make
sense. Of course, it must become stable very quickly.

> DB> Some people use WML to generate pages which are processed through PHP,
> DB> ASP, ePerl, ... by the web server.  And you do not know which delimiter
> DB> is used (see options -B and -E of ePerl).
> Wouldn't such a -B and -E, if given, also be available to Pass 2
> for evaluation?

No, this is not the problem.  Take a look at source code (most stupid
example i found) of http://www.axa-conseil.fr/

    document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
    document.write('codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=3,0,0,0" ');
    document.write('ID="axa" WIDTH=770 HEIGHT=440> ');

How to parse this <object> tag?

What i was trying to tell in previous post is that you cannot ensure
that a WML document respects a given syntax, nor that compiled file is a
valid HTML file.  It may contain some instructions processed by the
server on delivery, or client-side programming constructs, or both.

So do not believe that mp4h could handle all cases.  Human
interventation is mandatory to help it parse these silly expressions,
how to do it best is discussed in other threads.

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