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

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

What to do with HTML tags?

   <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
            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.
            0                    1st attribute
            0                    2nd attr.
            <img src="foo.png">  3th attr.
        >                        end of the `ifneq' tag

Of course it is possible to make case (a) work by quoting the <img> tag.

WML 2.0.0 implemented case (a), and i quickly switched to case (b)
in WML 2.0.1 because of the numerous bug reports, which mean either that
case (a) is not intuitive, or that documentation was unclear.

So it would be nice to have a consensus on this issue.

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