1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-07 10:42:55 +03:00

fixed bug #125502 and corrected expected test output fixed broken test

* libxslt/transform.c, tests/general/bug-119.out: fixed
  bug #125502 and corrected expected test output
* tests/general/bug-79.out: fixed broken test (bug #123328)
* libxslt/pattern.c, libexslt/functions.c: minor change to
  eliminate compilation warning
This commit is contained in:
William M. Brack
2003-11-02 01:10:43 +00:00
parent c054e019f0
commit a083b0b03e
6 changed files with 13 additions and 19 deletions

View File

@@ -1,3 +1,11 @@
Sat Nov 1 17:04:27 PST 2003 William Brack <wbrack@mmm.com.hk>
* libxslt/transform.c, tests/general/bug-119.out: fixed
bug #125502 and corrected expected test output
* tests/general/bug-79.out: fixed broken test (bug #123328)
* libxslt/pattern.c, libexslt/functions.c: minor change to
eliminate compilation warning
Sat Nov 1 22:36:30 CET 2003 Daniel Veillard <daniel@veillard.com>
* tests/REC/test-5.2-17.xsl tests/REC/test-5.2-18.xsl: fixing two

View File

@@ -184,13 +184,13 @@ exsltFuncShutdown (xsltTransformContextPtr ctxt ATTRIBUTE_UNUSED,
* @style: an XSLT stylesheet
* @URI: the namespace URI for the extension
*
* Allocates the styleshet data for EXSLT - Function
* Allocates the stylesheet data for EXSLT - Function
*
* Returns the allocated data
*/
static xmlHashTablePtr
exsltFuncStyleInit (xsltStylesheetPtr style,
const xmlChar *URI) {
exsltFuncStyleInit (xsltStylesheetPtr style ATTRIBUTE_UNUSED,
const xmlChar *URI ATTRIBUTE_UNUSED) {
return xmlHashCreate(1);
}

View File

@@ -199,7 +199,7 @@ xsltFreeCompMatchList(xsltCompMatchPtr comp) {
* steps of an imported stylesheet.
*/
void xsltNormalizeCompSteps(void *payload,
void *data, const xmlChar *name) {
void *data, const xmlChar *name ATTRIBUTE_UNUSED) {
xsltCompMatchPtr comp = payload;
xsltStylesheetPtr style = data;
int ix;

View File

@@ -1068,7 +1068,6 @@ static void
xsltDefaultProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr node,
xsltStackElemPtr params) {
xmlNodePtr copy;
xmlAttrPtr attrs;
xmlNodePtr delete = NULL, cur;
int nbchild = 0, oldSize;
int childno = 0, oldPos;
@@ -1192,17 +1191,6 @@ xsltDefaultProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr node,
/*
* Handling of Elements: second pass, actual processing
*/
if (node->type == XML_ELEMENT_NODE) {
attrs = node->properties;
while (attrs != NULL) {
template = xsltGetTemplate(ctxt, (xmlNodePtr) attrs, NULL);
if (template) {
xsltApplyOneTemplate(ctxt, (xmlNodePtr) attrs,
template->content, template, params);
}
attrs = attrs->next;
}
}
oldSize = ctxt->xpathCtxt->contextSize;
oldPos = ctxt->xpathCtxt->proximityPosition;
cur = node->children;

View File

@@ -1,12 +1,10 @@
<?xml version="1.0"?>
NAME match
NAME match
NAME

View File

@@ -1,5 +1,5 @@
<?xml version="1.0"?>
SUCCESS