[ZPT] CVS: Packages/TAL - test11.html:1.1 test11.xml:1.1 test9.xml:1.1
guido@digicool.com
guido@digicool.com
Tue, 27 Mar 2001 11:33:32 -0500 (EST)
Update of /cvs-repository/Packages/TAL/test/input
In directory korak:/tmp/cvs-serv11229/input
Added Files:
test11.html test11.xml test9.xml
Log Message:
Test cases including on-error testing.
--- Added File test11.html in package Packages/TAL ---
<html xmlns:tal="http://xml.zope.org/namespaces/tal">
<p tal:replace="structure string:<a>bar</a>"
tal:attributes="href string:http://www.python.org">dummy text</p>
<p tal:define="x python:1" tal:on-error="string:bad boy!">
<span tal:define="x python:2">
<span tal:define="x python:3">
<span tal:content="python:1/0"/>
</span>
</span>
</p>
<p tal:on-error="string:x undefined">
<span tal:content="x"/>
</p>
</html>
--- Added File test11.xml in package Packages/TAL ---
<html xmlns:tal="http://xml.zope.org/namespaces/tal">
<p tal:replace="structure string:<a>bar</a>"
tal:attributes="href string:http://www.python.org">dummy text</p>
<p tal:define="x python:1" tal:on-error="string:bad boy!">
<span tal:define="x python:2">
<span tal:define="x python:3">
<span tal:content="python:1/0"/>
</span>
</span>
</p>
<p tal:on-error="string:x undefined">
<span tal:content="x"/>
</p>
</html>
--- Added File test9.xml in package Packages/TAL ---
<html>
<body>
<p>
Just a bunch of text.</p>
<p>more text...</p>
<ul>
<li>first item</li>
<li>second item
<ol>
<li>second list, first item</li>
<li>second list, second item
<dl compact="">
<dt>term 1</dt>
<dt>term 2</dt>
<dd>definition</dd>
</dl></li>
</ol></li>
<li>Now let's have a paragraph...
<p>My Paragraph</p>
</li>
<li>And a table in a list item:
<table>
</table></li>
</ul>
</body>
</html>