[stringtemplate-interest] Problem in multivalued attribute handling?

Praki Prakash praki.prakash at gmail.com
Thu Jul 6 14:01:50 PDT 2006


Hi,

While using the Python version of StringTemplate, I noticed that my
multivalued attribute was missing all the zero values. The following snippet
demonstrates the problem. I am using version 2.2. Is this a bug? Is there a
workaround?

>>> import stringtemplate
>>> st=stringtemplate.StringTemplate("$[0,1,0,1]:{$it$}$")
>>> print st
11

Thanks
Praki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20060706/b003f911/attachment.html


More information about the stringtemplate-interest mailing list