diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-09-25 19:42:07 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-09-25 19:42:07 +0000 |
commit | 145500bbe0149b9ceb75cd4afcb569f26466de8c (patch) | |
tree | a24441fcffc0bab20fdd5a6ef512246c6def6a0a /tests/general | |
parent | 28af2d73eade0dbd10748b313b871e3f6d5c2b03 (diff) | |
download | libxslt-145500bbe0149b9ceb75cd4afcb569f26466de8c.tar.gz libxslt-145500bbe0149b9ceb75cd4afcb569f26466de8c.tar.bz2 libxslt-145500bbe0149b9ceb75cd4afcb569f26466de8c.zip |
fixed 2 leaks with namespaced variable names. added test case for above
* libxslt/preproc.c libxslt/variables.c: fixed 2 leaks with
namespaced variable names.
* tests/general/bug-154.*, tests/general/Makefile.am,
tests/docs/bug-154*, tests/docs/Makefile.am: added test case
for above
Daniel
Diffstat (limited to 'tests/general')
-rw-r--r-- | tests/general/Makefile.am | 1 | ||||
-rw-r--r-- | tests/general/bug-154.out | 0 | ||||
-rw-r--r-- | tests/general/bug-154.xsl | 4 |
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am index 74e4851d..e02b4e0a 100644 --- a/tests/general/Makefile.am +++ b/tests/general/Makefile.am @@ -161,6 +161,7 @@ EXTRA_DIST = \ bug-151.out bug-151.xsl \ bug-152.out bug-152.xsl \ bug-153.out bug-153.xsl \ + bug-154.out bug-154.xsl \ character.out character.xsl \ character2.out character2.xsl \ itemschoose.out itemschoose.xsl \ diff --git a/tests/general/bug-154.out b/tests/general/bug-154.out new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tests/general/bug-154.out diff --git a/tests/general/bug-154.xsl b/tests/general/bug-154.xsl new file mode 100644 index 00000000..873cf6d6 --- /dev/null +++ b/tests/general/bug-154.xsl @@ -0,0 +1,4 @@ +<xsl:transform version="1.0" +xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:test="#"> +<xsl:variable name="test:foo" select="'abc'"/> +</xsl:transform> |