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

Re: [wml] Re: WML 2.0.1



Hello Jan!

On Fri, 26 May 2000, Tobias Oetiker wrote:
> lets have an example .... <BLA></BLA> and <BLB></BLB> are complex
> tags both defined in mp4h:
> 
> 1) <H1>hello<BLA>hello</H1></BLA>

mp4h sees only the <BLA>...</BLA> construct and has to expand it...

> 2) <BLB>hello<BLA>hello</BLB></BLA>

[*]

> 3) <BLA>hello</BLB></BLA>

Without opening tag </BLB> has to processed like an unknown tag.

> 4) <BLA><perl>print "<BLB>"</perl></BLB></BLA>
> 5) <BLA><BLA><perl>print "</BLA>"</perl></BLA>
> 6) <BLA <BLB>></BLB>></BLA> or <BLA <BLB>></BLB></BLA>
> 7) <BLA <BLB></BLA></BLB>></BLA>

[*]

> what should now happen when each of the lines above gets processed ...

The linkes marked with [*] are out of subject ;-) First we (the WML users
and template and modules writers) want to solve real problems, and then we
think about pathetic things ;-)

It wouldn't help much if we had solutions for these cases (which IMO
shouldn't be processed - I'd like an error message), when at the other
hand we have to think about the correct use of opening tags in perl
constructs (see the <: print "<img src=\"$file\">"; :> discussion).

As user I want a fast pass 2 with a known, simple grammar :-) - in my case
it doesn't matter if it'll be mhc or mp4h.

Nice greetings,

Franz

--------------------------------------------------------------------------
Franz KNIPP                                               +34 65 44 26 555 
C/ Poeta Ricard Sanmarti, 4-10                            E-46020 Valencia
http://www.knipp.org/franz/                                franz@knipp.org
--------------------------------------------------------------------------
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com