[xml] condition in xpath code



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.

 

       Thanks in advance for the reply.

 

Regards,

Nagesh.



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