Re: [lttng-dev] [PATCH lttng-tools] Bash completion: ignore namespace for xmllint parsing

2018-06-05 Thread Jérémie Galarneau
Merged in master, stable-2.10, and stable-2.9. Thanks! Jérémie On Mon, May 28, 2018 at 05:31:48PM -0400, Jonathan Rajotte wrote: > 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

[lttng-dev] [PATCH lttng-tools] Bash completion: ignore namespace for xmllint parsing

2018-05-28 Thread Jonathan Rajotte
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 ---