[Mod_transform] external entity lookup failures
Edward Rudd
urkle at outoforder.cc
Wed Feb 9 18:55:24 EST 2005
On Mon, 2005-01-31 at 14:29, Dorian Taylor wrote:
> i was wondering if i could get a breakdown of how/where/when the
> external entity resolver goes to look up the url of a resource. i'm
> trying to wedge mod_transform in with a type handler that does some
> uri modification, but it's obviously not jiving, as mod_transform
> can't find the resources.
This is all done via the libxml2 library with respect to external entity
loading.
You may want to try the SVN Trunk to see if code in there fixes things.
as I believe I came across the same issue while working on some new
Simplified Docbook XSLT filters (real time docbook translation :-D ) for
outoforder.cc.
I think that this will actually fix the issue, if not play around with
the options to the xmlXincludeProcessFlags function calls. (reading the
libxml2 documentation).
Index: mod_transform.c
===================================================================
--- mod_transform.c (revision 73)
+++ mod_transform.c (revision 74)
@@ -88,7 +88,7 @@
if (dconf->opts & XINCLUDES) {
xmlXIncludeProcessFlags(doc,
XML_PARSE_RECOVER | XML_PARSE_XINCLUDE
|
- XML_PARSE_NONET);
+ XML_PARSE_NONET | XSLT_PARSE_OPTIONS);
}
if (ap_is_initial_req(f->r) && notes->xslt) {
--
Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_transform/attachments/20050209/af56a305/attachment.bin
More information about the Mod_transform
mailing list