Re: [[libxml++] [PATCH] clear_internal_subset()]



Thomas Jarosch <thomas jarosch intra2net com> wrote:
> I wanted to replace a dtd reference in a parsed document with a new one.
Just 
> calling set_internal_subset doesn't work, libxml checks if we already have
at 
> dtd and breaks.
> 
> So I wrote the clear_internal_subset function.

Shouldn't set_internal_subset() do this automatically, without us adding a
method? It sounds like a and_make_it_work() method - something that belongs in
implementation instead of API.


Murray Cumming
murrayc usa net
www.murrayc.com






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