On Mon, Jun 06, 2016 at 02:06:57PM -0400, Dale R. Worley wrote:
> A difficulty I have with the current wording is that it doesn't point
> out the crucial fact about leafref that the XPath expression can only
> select elements that are instantiations of one particular data node.  I
> don't know XPath, but it seems that that is not a general property of
> XPath expressions, you seem to be able to write XPath expressions that
> select heterogenous groups of elements.  So it's worth pointing out that
> the allowed XPath expressions can't do that, and that is because of the
> restriction that the expression must match path-arg.
> 
> Perhaps my problem is that XPath is almost always used in this style,
> and so the limitations in leafref aren't anything unusual.

Does section 9.9.2, which describes the path statement, not describe
this is sufficient detail? Note also that 9.9.2 is a subsection of
9.9, which describes the leafref type.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to