1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

added test similar to 143 but checking for AVT in local variables. Daniel

* tests/docs/Makefile.am tests/docs/bug-144.xml
  tests/general/Makefile.am tests/docs/bug-144*: added test
  similar to 143 but checking for AVT in local variables.
Daniel
This commit is contained in:
Daniel Veillard
2004-02-26 13:54:35 +00:00
parent 35184c8908
commit 2fd968f166
8 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Thu Feb 26 14:53:16 CET 2004 Daniel Veillard <daniel@veillard.com>
* tests/docs/Makefile.am tests/docs/bug-144.xml
tests/general/Makefile.am tests/docs/bug-144*: added test
similar to 143 but checking for AVT in local variables.
Thu Feb 26 13:16:33 CET 2004 Daniel Veillard <daniel@veillard.com> Thu Feb 26 13:16:33 CET 2004 Daniel Veillard <daniel@veillard.com>
* libxslt/attrvt.c libxslt/variables.c: fixed a regression for * libxslt/attrvt.c libxslt/variables.c: fixed a regression for

View File

@ -113,6 +113,7 @@
<summary>interface for the key matching used in key() and template matches.</summary> <summary>interface for the key matching used in key() and template matches.</summary>
<description>implementation of the key mechanims. </description> <description>implementation of the key mechanims. </description>
<author>Daniel Veillard </author> <author>Daniel Veillard </author>
<exports symbol='NODE_IS_KEYED' type='macro'/>
<exports symbol='xsltInitCtxtKeys' type='function'/> <exports symbol='xsltInitCtxtKeys' type='function'/>
<exports symbol='xsltFreeKeys' type='function'/> <exports symbol='xsltFreeKeys' type='function'/>
<exports symbol='xsltGetKey' type='function'/> <exports symbol='xsltGetKey' type='function'/>
@ -493,6 +494,8 @@
</macro> </macro>
<macro name='LIBXSLT_PUBLIC' file='xsltexports'> <macro name='LIBXSLT_PUBLIC' file='xsltexports'>
</macro> </macro>
<macro name='NODE_IS_KEYED' file='keys'>
</macro>
<macro name='XSLTCALL' file='xsltexports'> <macro name='XSLTCALL' file='xsltexports'>
</macro> </macro>
<macro name='XSLTPUBFUN' file='xsltexports'> <macro name='XSLTPUBFUN' file='xsltexports'>

View File

@ -8,6 +8,7 @@
<reference name='IS_XSLT_NAME' href='html/libxslt-xsltutils.html#IS_XSLT_NAME'/> <reference name='IS_XSLT_NAME' href='html/libxslt-xsltutils.html#IS_XSLT_NAME'/>
<reference name='IS_XSLT_REAL_NODE' href='html/libxslt-xsltutils.html#IS_XSLT_REAL_NODE'/> <reference name='IS_XSLT_REAL_NODE' href='html/libxslt-xsltutils.html#IS_XSLT_REAL_NODE'/>
<reference name='LIBXSLT_PUBLIC' href='html/libxslt-xsltexports.html#LIBXSLT_PUBLIC'/> <reference name='LIBXSLT_PUBLIC' href='html/libxslt-xsltexports.html#LIBXSLT_PUBLIC'/>
<reference name='NODE_IS_KEYED' href='html/libxslt-keys.html#NODE_IS_KEYED'/>
<reference name='XSLTCALL' href='html/libxslt-xsltexports.html#XSLTCALL'/> <reference name='XSLTCALL' href='html/libxslt-xsltexports.html#XSLTCALL'/>
<reference name='XSLTPUBFUN' href='html/libxslt-xsltexports.html#XSLTPUBFUN'/> <reference name='XSLTPUBFUN' href='html/libxslt-xsltexports.html#XSLTPUBFUN'/>
<reference name='XSLTPUBVAR' href='html/libxslt-xsltexports.html#XSLTPUBVAR'/> <reference name='XSLTPUBVAR' href='html/libxslt-xsltexports.html#XSLTPUBVAR'/>
@ -391,6 +392,9 @@
<letter name='L'> <letter name='L'>
<ref name='LIBXSLT_PUBLIC'/> <ref name='LIBXSLT_PUBLIC'/>
</letter> </letter>
<letter name='N'>
<ref name='NODE_IS_KEYED'/>
</letter>
<letter name='X'> <letter name='X'>
<ref name='XSLTCALL'/> <ref name='XSLTCALL'/>
<ref name='XSLTPUBFUN'/> <ref name='XSLTPUBFUN'/>
@ -1545,6 +1549,7 @@
<ref name='xsltParseStylesheetInclude'/> <ref name='xsltParseStylesheetInclude'/>
</file> </file>
<file name='keys'> <file name='keys'>
<ref name='NODE_IS_KEYED'/>
<ref name='xsltAddKey'/> <ref name='xsltAddKey'/>
<ref name='xsltFreeDocumentKeys'/> <ref name='xsltFreeDocumentKeys'/>
<ref name='xsltFreeKeys'/> <ref name='xsltFreeKeys'/>

View File

@ -143,6 +143,7 @@ EXTRA_DIST = \
bug-141.xml \ bug-141.xml \
bug-142.xml \ bug-142.xml \
bug-143.xml \ bug-143.xml \
bug-144.xml \
character.xml \ character.xml \
array.xml \ array.xml \
items.xml items.xml

1
tests/docs/bug-144.xml Normal file
View File

@ -0,0 +1 @@
<doc/>

View File

@ -149,6 +149,7 @@ EXTRA_DIST = \
bug-141.out bug-141.xsl \ bug-141.out bug-141.xsl \
bug-142.out bug-142.xsl \ bug-142.out bug-142.xsl \
bug-143.out bug-143.xsl \ bug-143.out bug-143.xsl \
bug-144.out bug-144.xsl \
character.out character.xsl \ character.out character.xsl \
character2.out character2.xsl \ character2.out character2.xsl \
itemschoose.out itemschoose.xsl \ itemschoose.out itemschoose.xsl \

View File

@ -0,0 +1,2 @@
<?xml version="1.0"?>
<foo bar="0foo1">foo1</foo>

10
tests/general/bug-144.xsl Normal file
View File

@ -0,0 +1,10 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:variable name="foo">foo</xsl:variable>
<xsl:variable name="bar">
<foo bar="0{$foo}1">foo1</foo>
</xsl:variable>
<xsl:copy-of select="$bar"/>
</xsl:template>
</xsl:stylesheet>