Re: [xml] default entities

On Tue, Feb 14, 2006 at 04:11:32PM -0200, Guilherme Balestieri Bedin wrote:

 I did a small change in xmlEscapeEntities() from  xmlsave.c to take 
account of the xmlSubstituteEntitiesDefaultValue parameter.
So, now I can control if default entities will be substitute or not by 
xmlSubstituteEntitiesDefault() in tree serialization like with the parser.

I wanna now if this behavior can be added to libxml2 ? If yes, how is 
the process ?

  No, this change the behaviour of a common function. Moreover
using global variables to change the behaviour of the library is an
error inherited from the early times of libxml and that's I'm trying
to get rid of as much as possible, so really no.


Daniel Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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