[libxml++] Node::find( nonexistent_xpath )
- From: andy glew amd com
- To: libxmlplusplus-general lists sourceforge net
- Subject: [libxml++] Node::find( nonexistent_xpath )
- Date: Thu, 1 May 2003 23:46:56 -0700
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]