On Sat, 5 Feb 2005 15:30:42 +0100, Andr� van Toly <[EMAIL PROTECTED]> wrote:
 > But then it would not be forbidden to code
> something like: <mm:list nodes="a, b ,c " ...>
> Can that be correct in your templates?

I don't know, but that was obviously the idea of StringSplitter. Of
course inspired by natural languages in which you also normally follow
comma's by space.

Btw, it can also be other white-space:
 <mm:list nodes="a,
                                b,
                                c">
I don't know if any body uses that, but I could imagine some use for that.

> >It should perhaps be split("\s*,\s*") then or so.
> 
> Sounds a bit silly, imho. But when spaces are not
> strictly disallowed, ... or maybe we should force
> them to be.

I don't know. I would not see much reason to introduce such a
backwards incompatibility.  Of course, it could be justified if one
finds the spaces actually meaningful in some situation. But no-one
ever complaint about that...

Michiel


-- 
mihxil'  http://mihxil.komputilo.org/
nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to