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:
@@ -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>
|
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
|
* tests/REC/test-5.2-17.xsl tests/REC/test-5.2-18.xsl: fixing two
|
||||||
|
@@ -184,13 +184,13 @@ exsltFuncShutdown (xsltTransformContextPtr ctxt ATTRIBUTE_UNUSED,
|
|||||||
* @style: an XSLT stylesheet
|
* @style: an XSLT stylesheet
|
||||||
* @URI: the namespace URI for the extension
|
* @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
|
* Returns the allocated data
|
||||||
*/
|
*/
|
||||||
static xmlHashTablePtr
|
static xmlHashTablePtr
|
||||||
exsltFuncStyleInit (xsltStylesheetPtr style,
|
exsltFuncStyleInit (xsltStylesheetPtr style ATTRIBUTE_UNUSED,
|
||||||
const xmlChar *URI) {
|
const xmlChar *URI ATTRIBUTE_UNUSED) {
|
||||||
return xmlHashCreate(1);
|
return xmlHashCreate(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -199,7 +199,7 @@ xsltFreeCompMatchList(xsltCompMatchPtr comp) {
|
|||||||
* steps of an imported stylesheet.
|
* steps of an imported stylesheet.
|
||||||
*/
|
*/
|
||||||
void xsltNormalizeCompSteps(void *payload,
|
void xsltNormalizeCompSteps(void *payload,
|
||||||
void *data, const xmlChar *name) {
|
void *data, const xmlChar *name ATTRIBUTE_UNUSED) {
|
||||||
xsltCompMatchPtr comp = payload;
|
xsltCompMatchPtr comp = payload;
|
||||||
xsltStylesheetPtr style = data;
|
xsltStylesheetPtr style = data;
|
||||||
int ix;
|
int ix;
|
||||||
|
@@ -1068,7 +1068,6 @@ static void
|
|||||||
xsltDefaultProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr node,
|
xsltDefaultProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr node,
|
||||||
xsltStackElemPtr params) {
|
xsltStackElemPtr params) {
|
||||||
xmlNodePtr copy;
|
xmlNodePtr copy;
|
||||||
xmlAttrPtr attrs;
|
|
||||||
xmlNodePtr delete = NULL, cur;
|
xmlNodePtr delete = NULL, cur;
|
||||||
int nbchild = 0, oldSize;
|
int nbchild = 0, oldSize;
|
||||||
int childno = 0, oldPos;
|
int childno = 0, oldPos;
|
||||||
@@ -1192,17 +1191,6 @@ xsltDefaultProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr node,
|
|||||||
/*
|
/*
|
||||||
* Handling of Elements: second pass, actual processing
|
* 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;
|
oldSize = ctxt->xpathCtxt->contextSize;
|
||||||
oldPos = ctxt->xpathCtxt->proximityPosition;
|
oldPos = ctxt->xpathCtxt->proximityPosition;
|
||||||
cur = node->children;
|
cur = node->children;
|
||||||
|
@@ -1,12 +1,10 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
|
||||||
NAME match
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NAME match
|
|
||||||
NAME
|
NAME
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
SUCCESS
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user