RFC Errata
RFC 6728, "Configuration Data Model for the IP Flow Information Export (IPFIX) and Packet Sampling (PSAMP) Protocols", October 2012
Source of RFC: ipfix (ops)See Also: RFC 6728 w/ inline errata
Errata ID: 4843
Status: Verified
Type: Technical
Publication Format(s) : TEXT
Reported By: Michal Vasko
Date Reported: 2016-10-26
Verifier Name: Benoit Claise
Date Verified: 2016-10-26
Section 6 says:
leaf isFlowKey { when "(name(../../..) != 'immediateCache') ... leaf activeTimeout { when "(name(..) = 'timeoutCache') or (name(..) = 'naturalCache')" { ... leaf idleTimeout { when "(name(..) = 'timeoutCache') or (name(..) = 'naturalCache')" { ... leaf exportInterval { when "name(..) = 'permanentCache'" {
It should say:
leaf isFlowKey { when "(local-name(../../..) != 'immediateCache') ... leaf activeTimeout { when "(local-name(..) = 'timeoutCache') or (local-name(..) = 'naturalCache')" { ... leaf idleTimeout { when "(local-name(..) = 'timeoutCache') or (local-name(..) = 'naturalCache')" { ... leaf exportInterval { when "local-name(..) = 'permanentCache'" {
Notes:
The XPath function name() returns fully-qualified name (with namespace), but the comparisons are done on simple node names, which are returned by the local-name() XPath function.