Bash completion: ignore namespace for xmllint parsing
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 28 May 2018 21:31:48 +0000 (17:31 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 5 Jun 2018 21:49:17 +0000 (17:49 -0400)
commita88f86424a58665b942f776bd802d30a8b850a21
tree8fd8cd84abefee021b606143287f847b05c74214
parentcc84d37b5c13ad6a373137efc5d408ff099dceb4
Bash completion: ignore namespace for xmllint parsing

xmllint cli does not "easily" support namespace.

One can use the local_name() xpath function and other "trick".
The simplest trick for bash completion is to ignore the namespace
altogether.

Replacing "xmlns" by "ignore" does the job.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
extras/lttng-bash_completion
This page took 0.02475 seconds and 4 git commands to generate.