[Zope3-checkins] CVS: Zope3/src/zope/tal/tests/input - test19.xml:1.1 test20.xml:1.1 test21.xml:1.1

Gintautas Miliauskas gintas at pov.lt
Wed Apr 7 11:13:02 EDT 2004


Update of /cvs-repository/Zope3/src/zope/tal/tests/input
In directory cvs.zope.org:/tmp/cvs-serv27951/src/zope/tal/tests/input

Added Files:
	test19.xml test20.xml test21.xml 
Log Message:
Removed an assertion which disallows usage of Zope3 i18n in XML markup.

Added a few test cases which run the new code path.


=== Added File Zope3/src/zope/tal/tests/input/test19.xml ===
<?xml version="1.0"?>
<body xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<span i18n:translate="">Replace this</span>
<span i18n:translate="msgid">This is a
translated string</span>
<span i18n:translate="">And another
translated string</span>
</body>


=== Added File Zope3/src/zope/tal/tests/input/test20.xml ===
<?xml version="1.0"?>
<body xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<span i18n:translate="">replaceable <p tal:replace="str:here">content</p></span>
</body>


=== Added File Zope3/src/zope/tal/tests/input/test21.xml ===
<?xml version="1.0"?>
<body xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<span i18n:translate="">
  <span tal:replace="str:Lomax" i18n:name="name" /> was born in
  <span tal:replace="str:Antarctica" i18n:name="country" />.
</span>
</body>




More information about the Zope3-Checkins mailing list