+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
* @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);
}
* 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;
xsltDefaultProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr node,
xsltStackElemPtr params) {
xmlNodePtr copy;
- xmlAttrPtr attrs;
xmlNodePtr delete = NULL, cur;
int nbchild = 0, oldSize;
int childno = 0, oldPos;
/*
* 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;
<?xml version="1.0"?>
- NAME match
- NAME match
NAME
<?xml version="1.0"?>
-SUCCESS
+