diff --git a/ChangeLog b/ChangeLog index 06ee4262298c24fc5ff001e2e1326ef076c4ba73_Q2hhbmdlTG9n..cf1d3bf26667e169eb8ac83c4ea0ea47ff4c35c4_Q2hhbmdlTG9n 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Thu Feb 8 12:36:23 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr> + + * README configure.in libxslt.spec.in: bumped to 0.1.0, getting + ready for the release + * libxslt/keys.c libxslt/xslt.c: cleanup of uninitialized vars + * tests/REC1/Makefile.am tests/REC/Makefile.am: the EXTRA list + was not up to date + Thu Feb 8 12:09:58 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr> * FEATURES libxslt/xsltInternals.h libxslt/pattern.c libxslt/keys.c: diff --git a/README b/README index 06ee4262298c24fc5ff001e2e1326ef076c4ba73_UkVBRE1F..cf1d3bf26667e169eb8ac83c4ea0ea47ff4c35c4_UkVBRE1F 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ http://xmlsoft.org/ - Requires libxml2 >= 2.2.12 with XPath support. It won't even compile + Requires libxml2 >= 2.3.0 with XPath support. It won't even compile otherwise. Check the FEATURES file for informations about completeness Check the Changelog too to keep track of progresses. diff --git a/configure.in b/configure.in index 06ee4262298c24fc5ff001e2e1326ef076c4ba73_Y29uZmlndXJlLmlu..cf1d3bf26667e169eb8ac83c4ea0ea47ff4c35c4_Y29uZmlndXJlLmlu 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ AC_INIT(libxslt/xslt.c) -VERSION=0.0.2 +VERSION=0.1.0 PACKAGE=libxslt AM_CONFIG_HEADER(config.h) @@ -95,7 +95,7 @@ dnl find libxml dnl XML_CONFIG="xml2-config" -AC_MSG_CHECKING(for libxml libraries >= 2.2.13) +AC_MSG_CHECKING(for libxml libraries >= 2.3.0) if test "x$LIBXML_PREFIX" != "x" then if ${LIBXML_PREFIX}/bin/xml2-config --libs print > /dev/null 2>&1 @@ -112,9 +112,9 @@ if test "x$XML_CONFIG" != "x" then vers=`$XML_CONFIG --version | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` - if test "$vers" -ge 2002012 + if test "$vers" -ge 2003000 then LIBXML_LIBS="`$XML_CONFIG --libs`" LIBXML_CFLAGS="`$XML_CONFIG --cflags`" AC_MSG_RESULT(found) else @@ -116,9 +116,9 @@ then LIBXML_LIBS="`$XML_CONFIG --libs`" LIBXML_CFLAGS="`$XML_CONFIG --cflags`" AC_MSG_RESULT(found) else - AC_MSG_ERROR(You need at least libxml 2.2.13 for this version of libxml) + AC_MSG_ERROR(You need at least libxml 2.3.0 for this version of libxml) fi else AC_MSG_ERROR(Could not find libxml2 anywhere.) diff --git a/libxslt.spec.in b/libxslt.spec.in index 06ee4262298c24fc5ff001e2e1326ef076c4ba73_bGlieHNsdC5zcGVjLmlu..cf1d3bf26667e169eb8ac83c4ea0ea47ff4c35c4_bGlieHNsdC5zcGVjLmlu 100644 --- a/libxslt.spec.in +++ b/libxslt.spec.in @@ -10,7 +10,7 @@ Group: Development/Libraries Source: ftp://xmlsoft.org/XSLT/libxslt-%{ver}.tar.gz BuildRoot: /var/tmp/libxslt-%{PACKAGE_VERSION}-root -Requires: libxml2 >= 2.2.13 +Requires: libxml2 >= 2.3.0 URL: http://xmlsoft.org/ Docdir: %{prefix}/doc @@ -18,10 +18,10 @@ %description This C library allows to transform XML files into other XML files (or HTML, text, ...) using the standard XSLT stylesheet transformation -mechanism. To use it you need to have a version of libxml2 >= 2.2.12 +mechanism. To use it you need to have a version of libxml2 >= 2.3.0 installed. %package devel Summary: Libraries, includes, etc. to develop XML and HTML applications Group: Development/Libraries Requires: libxslt = %{version} @@ -22,11 +22,11 @@ installed. %package devel Summary: Libraries, includes, etc. to develop XML and HTML applications Group: Development/Libraries Requires: libxslt = %{version} -Requires: libxml2-devel >= 2.2.13 +Requires: libxml2-devel >= 2.3.0 %description devel This C library allows to transform XML files into other XML files (or HTML, text, ...) using the standard XSLT stylesheet transformation @@ -29,8 +29,8 @@ %description devel This C library allows to transform XML files into other XML files (or HTML, text, ...) using the standard XSLT stylesheet transformation -mechanism. To use it you need to have a version of libxml2 >= 2.2.12 +mechanism. To use it you need to have a version of libxml2 >= 2.3.0 installed. %changelog diff --git a/libxslt/keys.c b/libxslt/keys.c index 06ee4262298c24fc5ff001e2e1326ef076c4ba73_bGlieHNsdC9rZXlzLmM=..cf1d3bf26667e169eb8ac83c4ea0ea47ff4c35c4_bGlieHNsdC9rZXlzLmM= 100644 --- a/libxslt/keys.c +++ b/libxslt/keys.c @@ -289,7 +289,7 @@ int i; xmlChar *pattern = NULL; xmlNodeSetPtr nodelist = NULL, keylist; - xmlXPathObjectPtr res, tmp; + xmlXPathObjectPtr res = NULL, tmp; xmlChar *str; xmlXPathParserContextPtr xpathParserCtxt; xsltKeyTablePtr table; diff --git a/libxslt/xslt.c b/libxslt/xslt.c index 06ee4262298c24fc5ff001e2e1326ef076c4ba73_bGlieHNsdC94c2x0LmM=..cf1d3bf26667e169eb8ac83c4ea0ea47ff4c35c4_bGlieHNsdC94c2x0LmM= 100644 --- a/libxslt/xslt.c +++ b/libxslt/xslt.c @@ -909,11 +909,11 @@ void xsltParseStylesheetKey(xsltStylesheetPtr style, xmlNodePtr key) { - xmlChar *prop; - xmlChar *use; - xmlChar *match; - xmlChar *name; - xmlChar *nameURI; + xmlChar *prop = NULL; + xmlChar *use = NULL; + xmlChar *match = NULL; + xmlChar *name = NULL; + xmlChar *nameURI = NULL; if (key == NULL) return; diff --git a/tests/REC/Makefile.am b/tests/REC/Makefile.am index 06ee4262298c24fc5ff001e2e1326ef076c4ba73_dGVzdHMvUkVDL01ha2VmaWxlLmFt..cf1d3bf26667e169eb8ac83c4ea0ea47ff4c35c4_dGVzdHMvUkVDL01ha2VmaWxlLmFt 100644 --- a/tests/REC/Makefile.am +++ b/tests/REC/Makefile.am @@ -3,35 +3,61 @@ $(top_builddir)/libxslt/xsltproc: @(cd ../../libxslt ; make xsltproc) -EXTRA_DIST = \ - test-10-1.out test-10-1.xml test-10-1.xsl \ - test-11.2-1.out test-11.2-1.xml test-11.2-1.xsl \ - test-11.2-2.out test-11.2-2.xml test-11.2-2.xsl \ - test-11.2-3.out test-11.2-3.xml test-11.2-3.xsl \ - test-11.2-4.out test-11.2-4.xml test-11.2-4.xsl \ - test-11.2-5.out test-11.2-5.xml test-11.2-5.xsl \ - test-11.2-6.out test-11.2-6.xml test-11.2-6.xsl \ - test-5.3.out test-5.3.xml test-5.3.xsl \ - test-5.4-1.out test-5.4-1.xml test-5.4-1.xsl \ - test-5.4-2.out test-5.4-2.xml test-5.4-2.xsl \ - test-5.4-3.out test-5.4-3.xml test-5.4-3.xsl \ - test-5.4-4.out test-5.4-4.xml test-5.4-4.xsl \ - test-5.4-5.out test-5.4-5.xml test-5.4-5.xsl \ - test-5.8.out test-5.8.xml test-5.8.xsl \ - test-6.out test-6.xml test-6.xsl \ - test-7.1.1.out test-7.1.1.xml test-7.1.1.xsl \ - test-7.1.3.out test-7.1.3.xml test-7.1.3.xsl \ - test-7.1.4.out test-7.1.4.xml test-7.1.4.xsl \ - test-7.3.out test-7.3.xml test-7.3.xsl \ - test-7.4.out test-7.4.xml test-7.4.xsl \ - test-7.5-1.out test-7.5-1.xml test-7.5-1.xsl \ - test-7.6.1-1.out test-7.6.1-1.xml test-7.6.1-1.xsl \ - test-7.6.1-2.out test-7.6.1-2.xml test-7.6.1-2.xsl \ - test-7.6.1-3.out test-7.6.1-3.xml test-7.6.1-3.xsl \ - test-7.6.2-1.out test-7.6.2-1.xml test-7.6.2-1.xsl \ - test-8-1.out test-8-1.xml test-8-1.xsl \ - test-9.1-1.out test-9.1-1.xml test-9.1-1.xsl \ - test-9.1-2.out test-9.1-2.xml test-9.1-2.xsl +EXTRA_DIST = \ + article.xsl bigfont.xsl gmon.out \ + test-2.3-1.out test-2.3-1.xml test-2.3-1.xsl \ + test-2.3-2.out test-2.3-2.xml test-2.3-2.xsl \ + test-2.5-1.out test-2.5-1.xml test-2.5-1.xsl \ + test-2.6.2-1.out test-2.6.2-1.xml test-2.6.2-1.xsl \ + test-5.2-1.out test-5.2-1.xml test-5.2-1.xsl \ + test-5.2-2.out test-5.2-2.xml test-5.2-2.xsl \ + test-5.2-3.out test-5.2-3.xml test-5.2-3.xsl \ + test-5.2-4.out test-5.2-4.xml test-5.2-4.xsl \ + test-5.2-5.out test-5.2-5.xml test-5.2-5.xsl \ + test-5.2-6.out test-5.2-6.xml test-5.2-6.xsl \ + test-5.2-7.out test-5.2-7.xml test-5.2-7.xsl \ + test-5.2-8.out test-5.2-8.xml test-5.2-8.xsl \ + test-5.2-9.out test-5.2-9.xml test-5.2-9.xsl \ + test-5.2-10.out test-5.2-10.xml test-5.2-10.xsl \ + test-5.2-11.out test-5.2-11.xml test-5.2-11.xsl \ + test-5.2-12.out test-5.2-12.xml test-5.2-12.xsl \ + test-5.2-13.out test-5.2-13.xml test-5.2-13.xsl \ + test-5.2-14.out test-5.2-14.xml test-5.2-14.xsl \ + test-5.2-15.out test-5.2-15.xml test-5.2-15.xsl \ + test-5.2-16.out test-5.2-16.xml test-5.2-16.xsl \ + test-5.2-17.out test-5.2-17.xml test-5.2-17.xsl \ + test-5.2-18.out test-5.2-18.xml test-5.2-18.xsl \ + test-5.3.out test-5.3.xml test-5.3.xsl \ + test-5.4-1.out test-5.4-1.xml test-5.4-1.xsl \ + test-5.4-2.out test-5.4-2.xml test-5.4-2.xsl \ + test-5.4-3.out test-5.4-3.xml test-5.4-3.xsl \ + test-5.4-4.out test-5.4-4.xml test-5.4-4.xsl \ + test-5.4-5.out test-5.4-5.xml test-5.4-5.xsl \ + test-5.8.out test-5.8.xml test-5.8.xsl \ + test-6.out test-6.xml test-6.xsl \ + test-7.1.1.out test-7.1.1.xml test-7.1.1.xsl \ + test-7.1.3.out test-7.1.3.xml test-7.1.3.xsl \ + test-7.1.4.out test-7.1.4.xml test-7.1.4.xsl \ + test-7.3.out test-7.3.xml test-7.3.xsl \ + test-7.4.out test-7.4.xml test-7.4.xsl \ + test-7.5-1.out test-7.5-1.xml test-7.5-1.xsl \ + test-7.6.1-1.out test-7.6.1-1.xml test-7.6.1-1.xsl \ + test-7.6.1-2.out test-7.6.1-2.xml test-7.6.1-2.xsl \ + test-7.6.1-3.out test-7.6.1-3.xml test-7.6.1-3.xsl \ + test-7.6.2-1.out test-7.6.2-1.xml test-7.6.2-1.xsl \ + test-8-1.out test-8-1.xml test-8-1.xsl \ + test-9.1-1.out test-9.1-1.xml test-9.1-1.xsl \ + test-9.1-2.out test-9.1-2.xml test-9.1-2.xsl \ + test-9.2-1.xsl \ + test-10-1.out test-10-1.xml test-10-1.xsl \ + test-11.2-1.out test-11.2-1.xml test-11.2-1.xsl \ + test-11.2-2.out test-11.2-2.xml test-11.2-2.xsl \ + test-11.2-3.out test-11.2-3.xml test-11.2-3.xsl \ + test-11.2-4.out test-11.2-4.xml test-11.2-4.xsl \ + test-11.2-5.out test-11.2-5.xml test-11.2-5.xsl \ + test-11.2-6.out test-11.2-6.xml test-11.2-6.xsl \ + test-12.2-1.out test-12.2-1.xml test-12.2-1.xsl \ + test-12.2-2.out test-12.2-2.xml test-12.2-2.xsl all: test diff --git a/tests/REC1/Makefile.am b/tests/REC1/Makefile.am index 06ee4262298c24fc5ff001e2e1326ef076c4ba73_dGVzdHMvUkVDMS9NYWtlZmlsZS5hbQ==..cf1d3bf26667e169eb8ac83c4ea0ea47ff4c35c4_dGVzdHMvUkVDMS9NYWtlZmlsZS5hbQ== 100644 --- a/tests/REC1/Makefile.am +++ b/tests/REC1/Makefile.am @@ -3,7 +3,7 @@ $(top_builddir)/libxslt/xsltproc: @(cd ../../libxslt ; make xsltproc) -EXTRA_DIST = doc.xsl doc.xml result.xml +EXTRA_DIST = doc.xsl doc.xml doc.dtd result.xml all: test