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

Re: [wml] Re: [wml] Re: WML 2.0.1



On Sat, May 27, 2000, Denis Barbier wrote:

> What to do with HTML tags?
> 
> Consider
>    <ifneq 0 0 <img src="foo.png">>
> 
> I see 2 ways to parse this expression:
>    a) `<img' is not defined, and thus expanded as a string. So previous
>       expression is
>         <ifneq
>             0              1st attribute
>             0              2nd attr.
>             <img           3rd attr.
>             src="foo.png"  4th attr.
>         >                  end of the `ifneq' tag
>         >
>    b) `<img' is not defined, but is parsed as a valid tag.
>         <ifneq
>             0                    1st attribute
>             0                    2nd attr.
>             <img src="foo.png">  3th attr.
>         >                        end of the `ifneq' tag

I vote for keeping the current variant b), because it is more intuitive
for human readers.
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com