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:44:45 +0000 (17:44 -0400)
commitc94a8f2ce768e3d032890b10512fb8a09721f237
treeb13296a4d0037987340123a8eac89584822e8eba
parentac5b946733aa5c81e5b3098a0b243deaf9134ce6
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.025662 seconds and 4 git commands to generate.