Re: [xml] xmllint --shell dumps core



Daniel Veillard wrote:

 Hard to debug something I can't reproduce.


Ok, my fault (as I selected the wrong element under the
root in the example), but nevertheless this sould return
something like "empty nodeset" and not crash by dereferencing
a NULL pointer.

---------

bash-2.05$ xmllint --shell tst.xml
/ > cd /personen/person[ name="foo"]
person > pwd
//personen/person[1]
person > cd /
/ > cd /persons/person[ name="foo"]
list->nodesetval is empty             <<----
/ >
----------


--
Heiko W. Rupp
Project Management
WiredMinds Informationssysteme GmbH
Wilhelmsplatz 11
D-70182 Stuttgart

Email: Heiko Rupp WiredMinds de            Phone: +49 711 49048-232
Mobile: +49 172 7471 438                   Fax:   +49 711 49048-111




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