Re: [xml] xmlEncodeSpecialChars vs xmlEncodeEntitiesReentrant
- From: Daniel Veillard <veillard redhat com>
- To: Nikolay Sivov <bunglehead gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] xmlEncodeSpecialChars vs xmlEncodeEntitiesReentrant
- Date: Wed, 10 Feb 2010 17:12:39 +0100
On Wed, Feb 10, 2010 at 06:15:38PM +0300, Nikolay Sivov wrote:
Both calls have a header comment about their reentrance capability.
Is it a comment bug?
Does reentrant in this case mean that I can pass a string already
encoded with xmlEncodeEntitiesReentrant
to this call again?
no it's related to xmlEncodeEntities() deprecated function which used
a global variable for doing the conversion and hence was not
thread-safe.
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]