+Wed Jan 8 12:33:47 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+ * libxslt/transform.c: fixed a problem related to directory
+ checking and creation raised by Craig Goss
+
Thu Jan 2 23:23:30 CET 2003 Daniel Veillard <daniel@veillard.com>
* libexslt/strings.c: applied patch from Jörg Walter to provide
xmlFreeDoc(res);
res = NULL;
}
+ if ((res != NULL) && (ctxt != NULL) && (output != NULL)) {
+ int ret;
+
+ ret = xsltCheckWrite(userCtxt->sec, userCtxt, output);
+ if (ret == 0) {
+ xsltTransformError(ctxt, NULL, NULL,
+ "xsltApplyStylesheet: forbidden to save to %s\n",
+ output);
+ } else if (ret < 0) {
+ xsltTransformError(ctxt, NULL, NULL,
+ "xsltApplyStylesheet: saving to %s may not be possible\n",
+ output);
+ }
+ }
if ((ctxt != NULL) && (userCtxt == NULL))
xsltFreeTransformContext(ctxt);