[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: namespaces in subtree filtering



Andy Bierman writes:
>The corner-case that would not match is if the <c> node
>did not include a namespace:
>
>   <a:a>
>      <b:b>
>         <c/>
>      </b:b>
>  </a:a>
>
>In this case, nothing will be returned because <c> is not defined in the 
>'b' namespace.

But it should match.  Anything that doesn't fail a match explicitly
in the filter should be returned.

    <a:a>
      <b:b/>
    </a:a>

should be equivalent to the xpath expression:

   a:a/b:b

which should match the entire contents of anything under a b:b node
that is under a c:c node.  If this isn't true, life gets ugly.

Thanks,
 Phil

--
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/>