Skip to content

namespace missing in exception messages for XML documents #77

Description

@kwatsen

[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:

    /input/foo-bar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions