Re: [xml] Do patterns support namespaces ?
- From: Joachim Zobel <jz-2006 heute-morgen de>
- To: Michael Ludwig <milu71 gmx de>
- Cc: xml gnome org
- Subject: Re: [xml] Do patterns support namespaces ?
- Date: Mon, 24 Oct 2011 07:34:18 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]