On Sun, 2011-10-23 at 23:49 +0200, Michael Ludwig wrote: > There is a namespace prefix in your pattern that cannot be > bound to a namespace because you didn't declare any.
Yeah, missed that. jo@vostro:~$ echo '<?xml version="1.0"?><dummy xmlns:a="test"/>' | xmllint --pattern "//a:b" - Pattern //a:b failed to compile <?xml version="1.0"?> <dummy xmlns:a="test"/> Thanks, Joachim _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml