On Mon, Mar 03, 2008 at 07:21:37PM +0530, Nagesh wrote:
> 
>    Hi All,
> 
>             The   xpath   function   xmlXPathNodeCollectAndTest(   )   in
>    libxml2-2.6.31 has condition on the line number 12221 which checks for
>    the  type  to be of type XML_NAMESPACE_DECL, which cannot happen since
>    the  type  is of enum type xmlXPathTypeVal which doesn't has the range
>    to have this value. Is this check deliberate or is it a bug.

  Hard to tell, i don't see the op operand 3 initialized to XML_NAMESPACE_DECL
anywhere, but that part of the code is fairly complex and subtle. Try to remove
that part and rerun all regression tests including XPath and libxslt ones,
it may quive you a quick answer  ... or not.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to