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

Re: [wml] e) or f) : unknown tags parsing

On Mon, May 29, 2000 at 05:37:14PM +0200, Denis Barbier wrote:
> So here are our choices:
>   e) Unknown tags are always simple.
>      Drawback: logical structure is not preserved, e.g.
>         <lang:en: <b>This is a test</b>>
>                has 4 attributes: <b>This, is, a, test</b>
>   f) Trailing slash determines tag type.
>      Drawback: in some situations, HTML tags must be protected.
> Could anyone evaluate pros and cons and send feedback?

I'd say e)

- In most cases there is only one argument needed. In this cases we can
  (implictly) join all arguments and use them as arg1.
- Some other cases could be changed (like <ifeq>) to use a simpler
  syntax, thus beeing no problem.
- If there remain any cases, we should be able to solve this by some
  (simple?) quoting. <tag "<b>foo bar</b>" "<i>baz quux</i>">

Does this sound sensible?

A bug fixed before it is released. Amazing. -- Wietse Venema
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com