Re: [xml] pre 2.7 sax behavior



On Tue, Dec 23, 2008 at 07:00:05PM -0500, Rob Richards wrote:
Apologies if this comes through twice. Originally sent from a different  
email address.

Attached is patch to provide pre 2.7 entity processing behavior when  
setting an XML_PARSE_OLDSAX option on the parser context.
The changes in entity processing made in 2.7 cause some serious breakage  
in the PHP SAX processor and no other alternative exists to fix this  
problem without libxml2 supporting the old behavior. In order not to  
degrade performance, this option is disabled by default.

Please let me know if anyone has or sees any issues with this patch?

  Sorry for the late reply, this looks fine to me, please commit :-)

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



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