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

Re: Problem with ifeq under 2.0.0

On Thu, 18 May 2000, Franz Knipp wrote:

> Hello!
> On Wed, 17 May 2000, Denis Barbier wrote:
> > read the file README.mp4h in top-level directory, it describes what to
> > do with this expression (and why it is broken now):
> >       <ifeq 0 0 <img src="foo.png" alt="">>
> I read README.mp4h and found the following line:
>     In mp4h, unknown tags are simply considered as normal text.
> I think, that <group ...> should be known to mp4h, but:
> <ifeq 0 0 <group <img src="foo.png" alt="">>>
> doesn't work, too.

It works as expected (in my mind ;-))

> Is this an error in mp4h or do I have to change all of this into:
> <ifeq 0 0 <group "<img src=\"foo.png\" alt=\"\">">>
> to get it working?

You have to.  Or write
  <ifeq 0 0 "<img src=\"foo.png\" alt=\"\">">

Note that these problems does not occur with the <when> tag, which
should be preferred in all circumstances.

> Keep in mind, that <prog ...> from wml::sys::compat1 doesn't work right,
> if the additional quotes are necessary!

This module implements rough compatibility, which is sufficient in most

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