Hi,

I'm developing a custom implementation of XInclusion. When opening in XXE a
file containing my custom include element, I get the following error:
file:[some file URI here]::: inclusion implementation error: missing source
URL

I load the target file using:
context.getDocument(url);
context is the XInclusionContext passed to the method XInclusion.include().

I thought I might need to set SOURCE_URL_PROPERTY myself, so I tried:
doc.putProperty(Constants.SOURCE_URL_PROPERTY, url);
right after the line above, but the result is the same: the error message
above.

What should I do to provide that source URL?
And what if the included nodes are built on request and don't come from an
actual source document?

Thanks,
Benoit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20091102/979194cf/attachment-0001.htm
 

Reply via email to