core-wg / yang-cbor

Internet-Draft for CBOR representation of YANG data
5 stars 10 forks source link

Remove "case" from "parent" definition #134

Closed cabo closed 2 years ago

cabo commented 2 years ago

Parent needs to be defined as he "closest enclosing" (or it becomes ancestor).

From the kinds of schema nodes listed (container, list, case, notification, RPC input, RPC output, action input or action output node), one stands out: A "case" statement is not an interesting parent, is it? We don't represent it in the data tree.

mcr commented 2 years ago

We need to remove "case" from this situation.

mcr commented 2 years ago

Just say, "The parent node in the data tree"

cabo commented 2 years ago

This is now addressed in #136 using the term "representation node".