[ZPT] | inefficiency/bug

Dieter Maurer dieter@handshake.de
Fri, 29 Mar 2002 13:45:18 +0100


Chris Withers writes:
 > In the expression:
 > 
 > <tal:r replace="x | y | z">
 > 
 > ...it appears that all of x, y and z are evaluated befroe any rendering take place.
 > Is that the case?
I doubt it.

  Evan told us: "x | y" is evaluated as

    Evaluate "x", if this does not raise some special exception, use it.
    Otherwise, evaluate "y".

 > ...
 > What's the best way to tackle this?
If you were right, it would be a bug that should be fixed.
Sure, you want to here that precisely ;-)


Dieter