From: sgunderson@bigfoot.com <> Date: Mon, 21 Apr 2008 17:34:32 +0000 (+0200) Subject: Add a test for repeated t:id replacing. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6286ecbbc595e1e9c2ba62b289f4d985cbedd523;p=xml-template Add a test for repeated t:id replacing. --- diff --git a/tests/reference/namespace.xml b/tests/reference/namespace.xml index c93b559..11b75e9 100644 --- a/tests/reference/namespace.xml +++ b/tests/reference/namespace.xml @@ -8,5 +8,6 @@

This will not.

Replaced.

foo +

Replaced.

diff --git a/xml/namespace.xml b/xml/namespace.xml index e81948b..623eec0 100644 --- a/xml/namespace.xml +++ b/xml/namespace.xml @@ -11,5 +11,6 @@

This will not.

This will also be replaced, but the id will stay.

This will say "foo", not "bar". +

Two elements can have the same ID, so this should be replaced again.