[xml] [PATCH] External entity loader by-context



Hi,

if developing a shared library setting the external entity loader globally 
is a little inconvenient as different libraries may interefere on that 
decision.

This patch tries to fix it by adding entityLoader members on several of the 
context structs and propagating it down the chain. I'm not sure if I have 
thought about everything, so be sure to review it thoroughly.

I'll try working on something similar for libxslt next (external entity 
loader and document loader per-context). How about a document loader for 
libxml's XInclude similar to what libxslt has?

Regards,
Michael

Attachment: libxml-loader-per-context.diff
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]