Re: [xml] patch for xmlNodeGetPath()



On Mon, Oct 07, 2002 at 09:05:54PM -0600, Vakoc, Mark wrote:
xmlNodeGetPath() returns an invalid result for attributes.  It would appear
as
 
/node/node attr
 
instead of
 
/node/node/@attr
 
The simple patch attached fixes this.

  Yep, thanks ! I wrote xmlNodeGetPath() initially just for debugging
purposes and didn't spent as much attention as I should have.

  Applied and commited,

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/



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