< prev index next >

modules/javafx.web/src/main/native/Source/ThirdParty/libxslt/src/libxslt/transform.c

Print this page
rev 11102 : 8227402: Improve XSLT processing
Reviewed-by: kcr, rhalade

*** 3491,3501 **** /* * Security checking: can we write to this resource */ if (ctxt->sec != NULL) { ret = xsltCheckWrite(ctxt->sec, ctxt, filename); ! if (ret == 0) { xsltTransformError(ctxt, NULL, inst, "xsltDocumentElem: write rights for %s denied\n", filename); xmlFree(URL); xmlFree(filename); --- 3491,3502 ---- /* * Security checking: can we write to this resource */ if (ctxt->sec != NULL) { ret = xsltCheckWrite(ctxt->sec, ctxt, filename); ! if (ret <= 0) { ! if (ret == 0) xsltTransformError(ctxt, NULL, inst, "xsltDocumentElem: write rights for %s denied\n", filename); xmlFree(URL); xmlFree(filename);
< prev index next >