Re: [xml] Do patterns support namespaces ?

Joachim Zobel schrieb am 23.10.2011 um 23:01 (+0200):

jo vostro:~/projects/local/mod_i18n/trunk$ echo '<?xml
version="1.0"?><dummy />' | xmllint --pattern "//@a:b" -
Pattern //@a:b failed to compile

There is a namespace prefix in your pattern that cannot be
bound to a namespace because you didn't declare any.

That said, I'm not sure what --pattern is supposed to do.

Michael Ludwig

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