XML codec at least is falling back to using Object.toString() when in encounters an object different to QName in an identityref leaf.
Such data is a violation of NormalizedNode contract and should be warned about. Add the corresponding logic to print out a stack trace once for every type violating this.
- relates to
-
YANGTOOLS-1108 Leaf of type union containing identity-ref is not correctly transformed to XML
- Resolved
-
MDSAL-552 Binding/DOM codec fails when leafref points to an enumeration
- Resolved