From: <and...@am...> - 2003-05-02 06:47:27
|
Q: what should Node::find( nonexistent_xpath ) return if it is called with an xpath that does not exist? libxml2 returns 0 xmlXPathEval ... which is the "inside" of Node::find(), but Node::find() core dumps. I.e. libxml2 is better behaved that libxmlpp::find() in this regard. I strongly suspect that libxmlpp should return an empty set. |