Re: [xml] xmllint --shell dumps core



On Wed, Nov 07, 2001 at 02:05:10PM +0100, Heiko Rupp wrote:
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.

  Ah, okay, sure, fixed :

orchis:~/XML -> xmllint --shell tst.xml
/ > cd /persons/person[ name="foo"]
/persons/person[ name="foo"] is an empty Node Set
/ > quit
orchis:~/XML -> 

  thanks,

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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