﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
370,Regression: multiple py:match elements cause Exception 'list index out of range',Felix Schwarz <felix.schwarz@…>,hodgestar,"We have a Genshi template that uses several stacked py:match expressions which worked with 0.5.1. Using the latest 0.6 trunk I get an exception when rendering this template with Genshi:
{{{
...
File ""trac/web/chrome.py"", line 832, in _strip_accesskeys
  for kind, data, pos in stream:
File ""genshi/core.py"", line 288, in _ensure
  for event in stream:
File ""trac/web/chrome.py"", line 821, in _generate
  for kind, data, pos in stream:
File ""genshi/template/base.py"", line 592, in _include
  for event in stream:
File ""genshi/template/markup.py"", line 344, in _match
  if test(event, namespaces, ctxt) is True:
File ""genshi/path.py"", line 129, in _test
  pos_queue = deque([(pos, cou, []) for pos, cou in stack[-1]])
}}}
",defect,closed,major,0.6.1,Template processing,devel,fixed,,osimons mmitar@… leho@…
