[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: subtree filtering: content match nodes
Li Yan <liyan_77@huawei.com> wrote:
> Hi,
> There is no such text (like sec. 6.2.5) to describe how the XPath
> filter matches the leaf node content in RFC 4741. Does XPath
> filtering have the same issue?
I don't think so. XPath defines comparisons in terms of the nodes'
string-values (possibly by converting to a number).
However, what the string-value for a particular element looks like
isn't defined. If you use XSD or RelaxNG, you probably will use the
canonical representation of the lexical value in replies to
<get>/<get-config>. IMO, this is something a "SMI for NETCONF" has to
address.
IMO, subtree filtering should also have been defined to not be
data-model agnostic, and instead compare the canonical form. which
depends on the type.
/martin
--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>