Hello.

I recently stumbled upon a bug which had me fooled for quite some time before I was able to spot it in the axtrace.

I was trying to pass the value 0 to a taglib written using TaglibHelper like this:

        <ns:param>0</ns:param>

An empty string value was returned because of the

        return '' unless $text;

test in TaglibHelper's parse_char sub, which caused some of my own code to break later on. I can work around the problem by using

        <ns:param><xsp:expr>0<xsp:expr></ns:param>

instead. It would be nice if the module could handle both cases, though.
        
Regards
--
Jan Bauer Nielsen
Center of Knowledge Technology, Technical Knowledge Center of Denmark
Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark
Direct: (+45) 4525 7221, [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to