Skip to content

Commit 0358e37

Browse files
committed
doc UPDATE clarify opaque nodes in xpath
1 parent 1a39b3d commit 0358e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree_data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2481,7 +2481,7 @@ LIBYANG_API_DECL void lyxp_vars_free(struct lyxp_var *vars);
24812481
* `leaf-list[.=...]`, these instances are found using hashes with constant (*O(1)*) complexity
24822482
* (unless they are defined in top-level). Other predicates can still follow the aforementioned ones.
24832483
*
2484-
* Opaque nodes are part of the evaluation.
2484+
* Opaque nodes are part of the evaluation but only those with a matching schema node.
24852485
*
24862486
* @param[in] ctx_node XPath context node.
24872487
* @param[in] xpath [XPath](@ref howtoXPath) to select in JSON format. It must evaluate into a node set.

0 commit comments

Comments
 (0)