﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
268,Match templates cannot access function variables,nabil.stendardo@…,cmlenz,"It seems as though match templates cannot access variables of a function in which they are nested. Example 
{{{
<?xml version=""1.0"" encoding=""UTF-8""?>
<html xmlns=""http://www.w3.org/1999/xhtml""
	xmlns:py=""http://genshi.edgewall.org/"">
	<head></head>
	<py:def function=""test(x)"">
		<py:match path=""test_tag"">
			<p>There should be another line of text if works</p>
			<p>${x}</p>
		</py:match>
	</py:def>
	${test('This example works as expected')}
	<body>
		<test_tag />
	</body>
</html>
}}}
does not compile, and if we replace ${x} by ${value_of('x')}, it doesn't print the second line.",defect,new,major,0.9,General,0.5.1,,,
