Re: [xml] Using xmlParserNodeInfo



On Fri, Feb 21, 2003 at 01:10:43PM -0800, Glenn W. Bach wrote:
  Hum, right this bit should be inherited in the child context !
The enclosed patch should fix this,

I'm a little concerned about the node_seq. When 
xmlParseExternalEntityPrivate is finished, it returns the nodeset. 
Doesn't it also have to return the node_seq? Even if it is recording the 
node info, it seems that as soon as the pseudo context is freed, all of 
the node info will be lost.

  right you need to pass that one too and avoid freeing it at the end of the
routine.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

Attachment: nodeinfo.patch
Description: Text document



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