Added / to api-path to xpath conversion
This commit is contained in:
parent
4e578b77ee
commit
1079fcad47
3 changed files with 3 additions and 1 deletions
|
|
@ -54,7 +54,7 @@
|
|||
|
||||
/*
|
||||
* Types
|
||||
* Add error here, but must also add an entry in EV variable.
|
||||
* Add error category here, but must also add an entry in EV variable.
|
||||
*/
|
||||
enum clicon_err{
|
||||
/* 0 means error not set) */
|
||||
|
|
|
|||
|
|
@ -637,6 +637,7 @@ api_path2xpath_cvv(cvec *api_path,
|
|||
char *namespace = NULL;
|
||||
cvec *nsc = NULL;
|
||||
|
||||
cprintf(xpath, "/");
|
||||
/* Initialize namespace context */
|
||||
if ((nsc = xml_nsctx_init(NULL, NULL)) == NULL)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue