+Fri Mar 22 19:26:47 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+ * libxslt/pattern.c: Fixing bug #75902 error with @foo[..]
+ steps which were not compiled
+ * tests/docs/Makefile.am tests/docs/bug-79.xml
+ tests/general/Makefile.am tests/general/bug-79.*: added a
+ specific example for bug #75902 in the regression tests
+
Fri Mar 22 16:13:22 CET 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/pattern.c: Fixing bug #75777 error with namespaced
goto error;
}
PUSH(XSLT_OP_ATTR, token, URL);
- return;
+ goto parse_predicate;
}
if (token == NULL)
token = xsltScanName(ctxt);
element->pattern);
#endif
xsltCompileLocationPathPattern(ctxt);
- if (ctxt->error)
+ if (ctxt->error) {
+ xsltPrintErrorContext(NULL, style, node);
+ xsltGenericError(xsltGenericErrorContext,
+ "xsltCompilePattern : failed to compile '%s'\n",
+ element->pattern);
+ style->errors++;
goto error;
+ }
/*
* Reverse for faster interpretation.
xsltPrintErrorContext(NULL, NULL, node); /* TODO */
xsltGenericError(xsltGenericErrorContext,
"xsltCompilePattern : NULL pattern\n");
+ style->errors++;
goto error;
}
bug-76.out bug-76.xsl \
bug-77.out bug-77.xsl \
bug-78.out bug-78.xsl \
+ bug-79.out bug-79.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \