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

Michael Leupold wrote:
if developing a shared library setting the external entity loader globally
is a little inconvenient as different libraries may interefere on that

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?

Forgot to mention: I didn't have time to do tests. The existing tests don't 
fail but the new functionality isn't tested at all! Hope I'll get to it...


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