fixed a serious proble is node-set was called on a nodeset fixed the rule
authorDaniel Veillard <veillard@src.gnome.org>
Mon, 30 Jul 2001 13:47:26 +0000 (13:47 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Mon, 30 Jul 2001 13:47:26 +0000 (13:47 +0000)
* libxslt/extra.c: fixed a serious proble is node-set was called
  on a nodeset
* tests//*/Makefile.am: fixed the rule to rebuild xsltproc
Daniel

18 files changed:
ChangeLog
libxslt/extra.c
tests/REC/Makefile.am
tests/REC1/Makefile.am
tests/REC2/Makefile.am
tests/XSLTMark/Makefile.am
tests/docbook/Makefile.am
tests/documents/Makefile.am
tests/exslt/common/Makefile.am
tests/exslt/functions/Makefile.am
tests/exslt/math/Makefile.am
tests/exslt/sets/Makefile.am
tests/extensions/Makefile.am
tests/general/Makefile.am
tests/multiple/Makefile.am
tests/namespaces/Makefile.am
tests/numbers/Makefile.am
tests/xmlspec/Makefile.am

index e733f98..641078b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jul 31 03:47:10 EDT 2001 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/extra.c: fixed a serious proble is node-set was called
+         on a nodeset
+       * tests//*/Makefile.am: fixed the rule to rebuild xsltproc
+
 Lun Jul 30 05:47:43 CEST 2001 Thomas Broyer <tbroyer@ltgt.net>
 
        * libexslt/functions.c: fixed memory leaks
index 08102f2..282fc6c 100644 (file)
@@ -132,8 +132,10 @@ xsltFunctionNodeSet(xmlXPathParserContextPtr ctxt, int nargs){
        ctxt->error = XPATH_INVALID_TYPE;
        return;
     }
-    ctxt->value->type = XPATH_NODESET;
-    ctxt->value->boolval = 1;
+    if (ctxt->value->type == XPATH_XSLT_TREE) {
+       ctxt->value->type = XPATH_NODESET;
+       ctxt->value->boolval = 1;
+    }
 }
 
 /**
index eebd41e..5da83bb 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST =                                           \
     article.xsl bigfont.xsl                            \
index 02ee4bd..5ec5219 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST = doc.xsl doc.xml doc.dtd result.xml
 
index cfaf50f..6399063 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST = data.xml vrml.xsl vrml.xml svg.xsl svg.xml        html.xsl html.xml
 
index 39abf20..31bd533 100644 (file)
@@ -48,7 +48,7 @@ EXTRA_DIST = \
   xslbenchdream.xml
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 all: alphabetize attsets avts axis backwards bottles breadth brutal chart \
   creation current dbonerow dbtail decoy depth encrypt functions game \
index f1d5706..99d991a 100644 (file)
@@ -3,7 +3,7 @@
 all: single xtchunk # Avoid doing the test in normal pass
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST = README VERSION
 
index 008f6e9..7a4fc00 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST = bredfort.css index.xml system.xml \
              bredfort.xsl menu.xml worklog.xml \
index a6b81e0..b0fb12b 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../../libxslt ; make xsltproc)
+       @(cd ../../../xsltproc ; make xsltproc)
 
 EXTRA_DIST =                                           \
        node-set.1.xml node-set.1.xsl node-set.1.out    \
index bd1bdc0..c78ad70 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../../libxslt ; make xsltproc)
+       @(cd ../../../xsltproc ; make xsltproc)
 
 EXTRA_DIST =                                           \
        function.1.out  function.1.xml  function.1.xsl  \
index bcd6e0d..6cbbf6e 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../../libxslt ; make xsltproc)
+       @(cd ../../../xsltproc ; make xsltproc)
 
 EXTRA_DIST =                                           \
        highest.1.out  highest.1.xml  highest.1.xsl     \
index 4dffc82..223e2c7 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../../libxslt ; make xsltproc)
+       @(cd ../../../xsltproc ; make xsltproc)
 
 EXTRA_DIST =                                                   \
   difference.1.out     difference.1.xml     difference.1.xsl   \
index 56aa74f..df0ed74 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST = \
     module.xml module.xsl module.out \
index 3e0c598..3be88c7 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST = \
     bug-1-.out bug-1-.xsl \
index 2cf906f..3e23d38 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST = dict.dtd  dict.xml  dict.xsl result.xml \
     out/lettera.orig out/letterb.orig \
index 7040eac..8654924 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST = \
     tst.xml tst.xsl tst.out \
index e53be59..6099185 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST = format-number.xsl format-number.xml format-number.out
 
index 8bcbbcd..9e02e3b 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 $(top_builddir)/xsltproc/xsltproc:
-       @(cd ../../libxslt ; make xsltproc)
+       @(cd ../../xsltproc ; make xsltproc)
 
 EXTRA_DIST = REC-xml-20001006.xml xmlspec-v21.dtd W3C-REC.css \
              logo-REC xmlspec.xsl REC-xml-2e.xsl diffspec.xsl \