Permalink
Browse files

releasing 1.0.10 updating the docs for the release. seems I inadverta…

…ntly

* configure.in: releasing 1.0.10
* doc/*: updating the docs for the release.
* libxslt/namespaces.c libxslt/pattern.c libxslt/transform.c:
  seems I inadvertantly commited previously stuff from a failed
  attempt at fixing namespace nodes parents.
Daniel
  • Loading branch information...
Daniel Veillard
Daniel Veillard committed Jan 14, 2002
1 parent 7b27da1 commit ce2f32af4ce51f51d7cd468dbf49f04d27e063fe
Showing with 110 additions and 49 deletions.
  1. +8 −0 ChangeLog
  2. +43 −41 config.h.in
  3. +3 −3 configure.in
  4. +9 −0 doc/news.html
  5. +10 −0 doc/xslt.html
  6. +32 −0 libxslt/transform.c
  7. +3 −3 libxslt/xsltwin32config.h
  8. +2 −2 tests/reports/undefvar.err
View
@@ -1,3 +1,11 @@
+Mon Jan 14 18:35:18 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+ * configure.in: releasing 1.0.10
+ * doc/*: updating the docs for the release.
+ * libxslt/namespaces.c libxslt/pattern.c libxslt/transform.c:
+ seems I inadvertantly commited previously stuff from a failed
+ attempt at fixing namespace nodes parents.
+
Mon Jan 14 12:20:33 CET 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/numbers.c: the xsl:number implementation incorrectly
View
@@ -1,85 +1,87 @@
/* config.h.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
#undef HAVE_ISINF
#undef HAVE_ISNAN
#undef HAVE_POW
#undef HAVE_FLOOR
#undef HAVE_FABS
#undef WITH_DEBUGGER
-/* Define if you have the <ansidecl.h> header file. */
-#undef HAVE_ANSIDECL_H
+/* Define if you have the _stat function. */
+#undef HAVE__STAT
-/* Define if you have the `asctime' function. */
+/* Define if you have the asctime function. */
#undef HAVE_ASCTIME
-/* Define if you have the <dlfcn.h> header file. */
+/* Define if you have the gettimeofday function. */
+#undef HAVE_GETTIMEOFDAY
+
+/* Define if you have the gmtime function. */
+#undef HAVE_GMTIME
+
+/* Define if you have the localtime function. */
+#undef HAVE_LOCALTIME
+
+/* Define if you have the mktime function. */
+#undef HAVE_MKTIME
+
+/* Define if you have the stat function. */
+#undef HAVE_STAT
+
+/* Define if you have the time function. */
+#undef HAVE_TIME
+
+/* Define if you have the <ansidecl.h> header file. */
+#undef HAVE_ANSIDECL_H
+
+/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
-/* Define if you have the <float.h> header file. */
+/* Define if you have the <float.h> header file. */
#undef HAVE_FLOAT_H
-/* Define if you have the <fp_class.h> header file. */
+/* Define if you have the <fp_class.h> header file. */
#undef HAVE_FP_CLASS_H
-/* Define if you have the `gettimeofday' function. */
-#undef HAVE_GETTIMEOFDAY
-
-/* Define if you have the `gmtime' function. */
-#undef HAVE_GMTIME
-
-/* Define if you have the <ieeefp.h> header file. */
+/* Define if you have the <ieeefp.h> header file. */
#undef HAVE_IEEEFP_H
-/* Define if you have the `localtime' function. */
-#undef HAVE_LOCALTIME
-
-/* Define if you have the <math.h> header file. */
+/* Define if you have the <math.h> header file. */
#undef HAVE_MATH_H
-/* Define if you have the `mktime' function. */
-#undef HAVE_MKTIME
-
-/* Define if you have the <nan.h> header file. */
+/* Define if you have the <nan.h> header file. */
#undef HAVE_NAN_H
-/* Define if you have the `stat' function. */
-#undef HAVE_STAT
-
-/* Define if you have the <stdarg.h> header file. */
+/* Define if you have the <stdarg.h> header file. */
#undef HAVE_STDARG_H
-/* Define if you have the <stdlib.h> header file. */
+/* Define if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
-/* Define if you have the <string.h> header file. */
+/* Define if you have the <string.h> header file. */
#undef HAVE_STRING_H
-/* Define if you have the <sys/stat.h> header file. */
+/* Define if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
-/* Define if you have the <sys/time.h> header file. */
+/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
-/* Define if you have the <sys/types.h> header file. */
+/* Define if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
-/* Define if you have the `time' function. */
-#undef HAVE_TIME
-
-/* Define if you have the <time.h> header file. */
+/* Define if you have the <time.h> header file. */
#undef HAVE_TIME_H
-/* Define if you have the <unistd.h> header file. */
+/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
-/* Define if you have the `_stat' function. */
-#undef HAVE__STAT
-
/* Name of package */
#undef PACKAGE
-/* Define if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
/* Version number of package */
#undef VERSION
+
View
@@ -6,12 +6,12 @@ dnl libexslt is an extension
dnl
LIBXSLT_MAJOR_VERSION=1
LIBXSLT_MINOR_VERSION=0
-LIBXSLT_MICRO_VERSION=9
+LIBXSLT_MICRO_VERSION=10
PACKAGE=libxslt
LIBEXSLT_MAJOR_VERSION=0
LIBEXSLT_MINOR_VERSION=7
-LIBEXSLT_MICRO_VERSION=2
-LIBXML_REQUIRED_VERSION=2.4.10
+LIBEXSLT_MICRO_VERSION=3
+LIBXML_REQUIRED_VERSION=2.4.13
LIBXSLT_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION.$LIBXSLT_MICRO_VERSION
View
@@ -65,6 +65,15 @@ <h2>News</h2>
<td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd">
<h3>CVS only : check the <a href="http://cvs.gnome.org/lxr/source/libxslt/ChangeLog">Changelog</a> file
for a really accurate description</h3>
+<h3>1.0.10: Jan 14 2001</h3>
+<ul>
+<li>Windows fixes for Win32 from Igor</li>
+<li>Fixed the Solaris compilation trouble (Albert)</li>
+<li>Documentation changes and updates: John Fleck</li>
+<li>Added a stringparam option to avoid escaping hell at the shell
+ level</li>
+<li>A few bug fixes </li>
+</ul>
<h3>1.0.9: Dec 7 2001</h3>
<ul>
<li>Makefile patches from Peter Williams</li>
View
@@ -233,6 +233,16 @@ <h3>CVS only : check the <a
href="http://cvs.gnome.org/lxr/source/libxslt/ChangeLog">Changelog</a> file
for a really accurate description</h3>
+<h3>1.0.10: Jan 14 2001</h3>
+<ul>
+ <li>Windows fixes for Win32 from Igor</li>
+ <li>Fixed the Solaris compilation trouble (Albert)</li>
+ <li>Documentation changes and updates: John Fleck</li>
+ <li>Added a stringparam option to avoid escaping hell at the shell
+ level</li>
+ <li>A few bug fixes </li>
+</ul>
+
<h3>1.0.9: Dec 7 2001</h3>
<ul>
<li>Makefile patches from Peter Williams</li>
View
@@ -808,6 +808,13 @@ xsltDefaultProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr node) {
case XML_COMMENT_NODE:
nbchild++;
break;
+ case XML_DTD_NODE:
+ /* Unlink the DTD, it's still reachable using doc->intSubset */
+ if (cur->next != NULL)
+ cur->next->prev = cur->prev;
+ if (cur->prev != NULL)
+ cur->prev->next = cur->next;
+ break;
default:
#ifdef WITH_XSLT_DEBUG_PROCESS
xsltGenericDebug(xsltGenericDebugContext,
@@ -2662,6 +2669,14 @@ xsltApplyTemplates(xsltTransformContextPtr ctxt, xmlNodePtr node,
case XML_COMMENT_NODE:
xmlXPathNodeSetAdd(list, cur);
break;
+ case XML_DTD_NODE:
+ /* Unlink the DTD, it's still reachable
+ * using doc->intSubset */
+ if (cur->next != NULL)
+ cur->next->prev = cur->prev;
+ if (cur->prev != NULL)
+ cur->prev->next = cur->next;
+ break;
default:
#ifdef WITH_XSLT_DEBUG_PROCESS
xsltGenericDebug(xsltGenericDebugContext,
@@ -3298,6 +3313,23 @@ xsltApplyStylesheetInternal(xsltStylesheetPtr style, xmlDocPtr doc,
if ((style == NULL) || (doc == NULL))
return (NULL);
+ if (doc->intSubset != NULL) {
+ /*
+ * Avoid hitting the DTD when scanning nodes
+ * but keep it linked as doc->intSubset
+ */
+ xmlNodePtr cur = doc->intSubset;
+ if (cur->next != NULL)
+ cur->next->prev = cur->prev;
+ if (cur->prev != NULL)
+ cur->prev->next = cur->next;
+ if (doc->children == cur)
+ doc->children = cur->next;
+ if (doc->last == cur)
+ doc->last = cur->prev;
+ cur->prev = cur->next = NULL;
+ }
+
if (userCtxt != NULL)
ctxt = userCtxt;
else
@@ -21,21 +21,21 @@ extern "C" {
*
* the version string like "1.2.3"
*/
-#define LIBXSLT_DOTTED_VERSION "1.0.9"
+#define LIBXSLT_DOTTED_VERSION "1.0.10"
/**
* LIBXSLT_VERSION:
*
* the version number: 1.2.3 value is 1002003
*/
-#define LIBXSLT_VERSION 10009
+#define LIBXSLT_VERSION 10010
/**
* LIBXSLT_VERSION_STRING:
*
* the version number string, 1.2.3 value is "1002003"
*/
-#define LIBXSLT_VERSION_STRING "10009"
+#define LIBXSLT_VERSION_STRING "10010"
/**
* WITH_XSLT_DEBUG:
@@ -1,6 +1,6 @@
runtime error: file ./undefvar.xsl line 6 element value-of
unregistered variable one
-xmlXPathRunEval: parameter error
-xmlXPathEval: 1 object left on the stack
+xmlXPathCompOpEval: parameter error
+xmlXPathCompiledEval: 1 object left on the stack
runtime error: file ./undefvar.xsl line 6 element value-of
xsltValueOf: text copy failed

0 comments on commit ce2f32a

Please sign in to comment.