Re: [xml] xpath expression and namespaces



I think I found the origin of this problem: turns out that
ancestor axis processing for namespace nodes was partially
disabled (xmlXPathNextAncestor() function returned NULL in
1 from 2 cases for namespace nodes).  It looks like it was
a "copy/paste" problem because the second case is handled
correctly and comments are also correct :) The fix seems safe and
does not break the XPath tests so I committed it along with
c14n code fix (wrong xpath nodes processing produced
incorrect results and c14n code had a workaround for it).


Aleksey






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