Hi,

While reviewing restconf-notif, I saw this example:

   {
      "ietf-subscribed-notifications:input": {
         "stream": "NETCONF",
         "stream-xpath-filter": "/ds:foo/",
         "dscp": "10"
      }
   }

Note the "stream-xpath-filter".  It has a prefix in the XPath string.
How are prefixes declared when JSON is used?

The leaf "stream-xpath-filter" says:

              o  The set of namespace declarations are those in scope on
                 the 'stream-xpath-filter' leaf element.

(I think I provided that text...)

This assumes that the encoding is XML, or at leas that the encoding
can somehow transfer namespace declarations.

How is this supposed to work with JSON?


/martin

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to