Re: [xml] xmlC14NDocDumpMemory inclusive_ns_prefixes parameter not const



On Sun, Oct 24, 2010 at 12:15:29PM +0200, Arnold Hendriks wrote:
I notice xmlC14NDocDumpMemory (and the related functions) take a
parameter inclusive_ns_prefixes, but that this parameter is not
declared as constant.

I wouldn't expect C14N to actually need to change the strings in the
inclusive_ns_prefixes list, or the list itself. Am I
misunderstanding the parameter, or was const just ommitted?

  Yes I think so but there is a whole chain of functions which
would need the cleanup up to the xmlC14NCtx context structure
whic stores it as xmlChar ** without any const,

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]