diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-01-31 13:27:40 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-01-31 13:27:40 +0000 |
commit | 48705af02b28285cc4627e75beb8950b00423927 (patch) | |
tree | 73a1f256b2992694d31300ebfa3ef207aeaa9c36 /tests/REC | |
parent | 598bfacb27515e22557c61a295fd63225e6dbdc1 (diff) | |
download | libxslt-48705af02b28285cc4627e75beb8950b00423927.tar.gz libxslt-48705af02b28285cc4627e75beb8950b00423927.tar.bz2 libxslt-48705af02b28285cc4627e75beb8950b00423927.zip |
The add test/debug loop ges on:
- tests/REC/test-7.*: added more tests
- libxslt/pattern.c libxslt/templates.c libxslt/transform.c:
fixing bugs raised by said tests
Daniel
Diffstat (limited to 'tests/REC')
-rw-r--r-- | tests/REC/test-7.3.out | 2 | ||||
-rw-r--r-- | tests/REC/test-7.3.xml | 2 | ||||
-rw-r--r-- | tests/REC/test-7.3.xsl | 15 | ||||
-rw-r--r-- | tests/REC/test-7.4.out | 2 | ||||
-rw-r--r-- | tests/REC/test-7.4.xml | 2 | ||||
-rw-r--r-- | tests/REC/test-7.4.xsl | 15 | ||||
-rw-r--r-- | tests/REC/test-7.5-1.out | 4 | ||||
-rw-r--r-- | tests/REC/test-7.5-1.xml | 3 | ||||
-rw-r--r-- | tests/REC/test-7.5-1.xsl | 12 |
9 files changed, 57 insertions, 0 deletions
diff --git a/tests/REC/test-7.3.out b/tests/REC/test-7.3.out new file mode 100644 index 00000000..923fbfa3 --- /dev/null +++ b/tests/REC/test-7.3.out @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<doc><?xml-stylesheet href="book.css" type="text/css"?></doc> diff --git a/tests/REC/test-7.3.xml b/tests/REC/test-7.3.xml new file mode 100644 index 00000000..636923c5 --- /dev/null +++ b/tests/REC/test-7.3.xml @@ -0,0 +1,2 @@ +<doc> +</doc> diff --git a/tests/REC/test-7.3.xsl b/tests/REC/test-7.3.xsl new file mode 100644 index 00000000..3f699f11 --- /dev/null +++ b/tests/REC/test-7.3.xsl @@ -0,0 +1,15 @@ +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:axsl="http://www.w3.org/1999/XSL/TransformAlias"> + +<xsl:namespace-alias stylesheet-prefix="axsl" result-prefix="xsl"/> + +<xsl:template match="doc"> +<doc> +<xsl:processing-instruction name="xml-stylesheet">href="book.css" type="text/css"</xsl:processing-instruction> +</doc> +</xsl:template> + +</xsl:stylesheet> diff --git a/tests/REC/test-7.4.out b/tests/REC/test-7.4.out new file mode 100644 index 00000000..cf037f2f --- /dev/null +++ b/tests/REC/test-7.4.out @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<doc><!--This file is automatically generated. Do not edit!--></doc> diff --git a/tests/REC/test-7.4.xml b/tests/REC/test-7.4.xml new file mode 100644 index 00000000..636923c5 --- /dev/null +++ b/tests/REC/test-7.4.xml @@ -0,0 +1,2 @@ +<doc> +</doc> diff --git a/tests/REC/test-7.4.xsl b/tests/REC/test-7.4.xsl new file mode 100644 index 00000000..80594735 --- /dev/null +++ b/tests/REC/test-7.4.xsl @@ -0,0 +1,15 @@ +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:axsl="http://www.w3.org/1999/XSL/TransformAlias"> + +<xsl:namespace-alias stylesheet-prefix="axsl" result-prefix="xsl"/> + +<xsl:template match="doc"> +<doc> +<xsl:comment>This file is automatically generated. Do not edit!</xsl:comment> +</doc> +</xsl:template> + +</xsl:stylesheet> diff --git a/tests/REC/test-7.5-1.out b/tests/REC/test-7.5-1.out new file mode 100644 index 00000000..450c3f1a --- /dev/null +++ b/tests/REC/test-7.5-1.out @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<doc attr="value"> + <child attr1="val" attr2="val2">content</child> +</doc> diff --git a/tests/REC/test-7.5-1.xml b/tests/REC/test-7.5-1.xml new file mode 100644 index 00000000..f3a0c0a0 --- /dev/null +++ b/tests/REC/test-7.5-1.xml @@ -0,0 +1,3 @@ +<doc attr="value"> + <child attr1="val" attr2="val2">content</child> +</doc> diff --git a/tests/REC/test-7.5-1.xsl b/tests/REC/test-7.5-1.xsl new file mode 100644 index 00000000..b832f5fa --- /dev/null +++ b/tests/REC/test-7.5-1.xsl @@ -0,0 +1,12 @@ +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:axsl="http://www.w3.org/1999/XSL/TransformAlias"> + +<xsl:template match="@*|node()"> + <xsl:copy> + <xsl:apply-templates select="@*|node()"/> + </xsl:copy> +</xsl:template> +</xsl:stylesheet> |