netconf-wg / list-pagination

0 stars 1 forks source link

Lada's XPAth comment #10

Closed kwatsen closed 2 months ago

kwatsen commented 3 months ago

Lada writes:

- My main concern is the use of XPath 1.0 for the "where" query parameter.
Firstly, the definition in sec. 3.1.1 does not specify the necessary context
for XPath evaluation. In particular, the "real" XPath 1.0 as defined by W3C has
no concept of default namespace, so the namespace has to be specified for every
data node in the "where" parameter - but then it is necessary to find a way for
specifying prefix bindings. Some of the examples in Appendix A also seem to use
references to XML attributes (for example,
"joined[starts-with(@timestamp,'2020')]"). I don't know if this means metadata
annotations [RFC 7952], but in any case using the attribute axis in XPath for
querying non-XML data is problematic.
kwatsen commented 3 months ago

Updates: