[This is happening in my fork. I haven't tested against yangson/master yet]
The path provided in an error message from SchemaNode.from_raw() with an input document that has an unexpected leaf node:
/ietf-sztp-bootstrap-server:input/foo-bar
The path provided in an error message from SchemaNode.from_xml() with an input document that has an unexpected leaf node:
The XML code should provide the namespaces in the same way. This may be related to the more general issue about how the XML code is inconsistent with how namespaces are represented in the ET structures: sometimes the namespace is in the attrib and sometime it's mangled into the tag.
[This is happening in my fork. I haven't tested against yangson/master yet]
The path provided in an error message from SchemaNode.from_raw() with an input document that has an unexpected leaf node:
The path provided in an error message from SchemaNode.from_xml() with an input document that has an unexpected leaf node:
The XML code should provide the namespaces in the same way. This may be related to the more general issue about how the XML code is inconsistent with how namespaces are represented in the
ETstructures: sometimes the namespace is in theattriband sometime it's mangled into thetag.