1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2026-01-07 21:58:22 +03:00

added test for entities parsing (Bug #129489) Daniel

* tests/docs/Makefile.am tests/docs/bug-139.xml
  tests/general/Makefile.am tests/general/bug-139*: added
  test for entities parsing (Bug #129489)
Daniel
This commit is contained in:
Daniel Veillard
2003-12-21 12:59:00 +00:00
parent da0d5bcdf2
commit 53fa74cf29
6 changed files with 36 additions and 1 deletions

View File

@@ -1,8 +1,14 @@
Sun Dec 21 13:56:48 CET 2003 Daniel Veillard <daniel@veillard.com>
* tests/docs/Makefile.am tests/docs/bug-139.xml
tests/general/Makefile.am tests/general/bug-139*: added
test for entities parsing (Bug #129489)
Sun Dec 21 20:33:27 HKT 2003 William Brack <wbrack@mmm.com.hk>
* tests/docs/Makefile.am tests/docs/bug-138.xml
tests/general/Makefile.am tests/general/bug-138*: added
test for namespace problem (Bug 129624)
test for namespace problem (Bug #129624)
Sun Dec 21 13:17:05 CET 2003 Daniel Veillard <daniel@veillard.com>

View File

@@ -138,6 +138,7 @@ EXTRA_DIST = \
bug-136.xml \
bug-137.xml \
bug-138.xml \
bug-139.xml \
character.xml \
array.xml \
items.xml

9
tests/docs/bug-139.xml Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE section
[
<!ENTITY foo "FOO">
<!ENTITY bar "&foo; BAR">
]>
<section>
My title is &bar; and some.
</section>

View File

@@ -144,6 +144,7 @@ EXTRA_DIST = \
bug-136.out bug-136.xsl \
bug-137.imp bug-137.out bug-137.xsl \
bug-138.out bug-138.xsl \
bug-139.out bug-139.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \

View File

@@ -0,0 +1,4 @@
<?xml version="1.0"?>
My title is FOO BAR and some.

14
tests/general/bug-139.xsl Normal file
View File

@@ -0,0 +1,14 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="section">
<xsl:value-of select="."/>
</xsl:template>
</xsl:stylesheet>