Le Dimanche 12 Juin 2005 23:51, Rupert Swarbrick a écrit : > If I use something like: > > xmlpp::NodeSet found; > const xmlpp::TextNode* node_text; > found = node->find( "./some/valid/path" ); > node_text = dynamic_cast<const xmlpp::TextNode*>(found[0]); > > Everything is fine. > > However, this: > > found = node->find( "./some/INVALID/path" ); > > produces a segfault. I can't reproduce such a behavior. Is the segfault on find itself ? Could you post a sample code on which you have the problem ? And about gdb, try to obtain the backtrace. Regards, Christophe
Attachment:
pgp8H53xE2CMA.pgp
Description: PGP signature