mirror of
https://github.com/darlinghq/darling-libxslt.git
synced 2025-03-02 09:05:30 +00:00
fixed bug #68751 added a specific example in the regression tests Daniel
* libxslt/templates.c: fixed bug #68751 * tests/docs/Makefile.am tests/docs/bug-68.xml tests/general/Makefile.am tests/general/bug-68.*: added a specific example in the regression tests Daniel
This commit is contained in:
parent
18c8f88910
commit
a78d584a69
@ -1,3 +1,10 @@
|
||||
Tue Jan 15 12:00:18 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* libxslt/templates.c: fixed bug #68751
|
||||
* tests/docs/Makefile.am tests/docs/bug-68.xml
|
||||
tests/general/Makefile.am tests/general/bug-68.*: added a
|
||||
specific example in the regression tests
|
||||
|
||||
Tue Jan 15 10:40:41 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* libxslt/transform.c xsltproc/xsltproc.c: fixed a couple of
|
||||
|
@ -217,6 +217,9 @@ xsltAttrTemplateValueProcess(xsltTransformContextPtr ctxt, const xmlChar *str) {
|
||||
xmlChar *expr, *val;
|
||||
|
||||
if (str == NULL) return(NULL);
|
||||
if (*str == 0)
|
||||
return(xmlStrndup("", 0));
|
||||
|
||||
cur = str;
|
||||
while (*cur != 0) {
|
||||
if (*cur == '{') {
|
||||
|
@ -68,6 +68,7 @@ EXTRA_DIST = \
|
||||
bug-64.xml \
|
||||
bug-65.xml \
|
||||
bug-66.xml \
|
||||
bug-68.xml \
|
||||
character.xml \
|
||||
array.xml \
|
||||
items.xml
|
||||
|
1
tests/docs/bug-68.xml
Normal file
1
tests/docs/bug-68.xml
Normal file
@ -0,0 +1 @@
|
||||
<doc/>
|
@ -71,6 +71,7 @@ EXTRA_DIST = \
|
||||
bug-64.out bug-64.xsl \
|
||||
bug-65.ent bug-65.out bug-65.xsl \
|
||||
bug-66.out bug-66.xsl \
|
||||
bug-68.out bug-68.xsl \
|
||||
character.out character.xsl \
|
||||
character2.out character2.xsl \
|
||||
itemschoose.out itemschoose.xsl \
|
||||
|
1
tests/general/bug-68.out
Normal file
1
tests/general/bug-68.out
Normal file
@ -0,0 +1 @@
|
||||
<IMG a="">
|
8
tests/general/bug-68.xsl
Normal file
8
tests/general/bug-68.xsl
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:output method="html" indent="yes" omit-xml-declaration="yes"/>
|
||||
<xsl:template match="/">
|
||||
<IMG a=""/>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
Loading…
x
Reference in New Issue
Block a user