Skip to content

How does libyang do cross-datastore validation? #26

@classcwnd

Description

@classcwnd

I added following models, and do validation for datastore.xml, but got below errors, is this normal or a bug? From my point, it is a right datastore and shall not report error.
Attached datastore.xml
models.tar

> clear
> add ietf-interfaces@2014-05-08.yin
> add iana-if-type.yin
> add ericsson-context-ipos@2015-12-07.yin
> add ericsson-interfaces-ext-ipos@2015-12-07.yin
> data datastore.xml
libyang[0]: Parser fails around the line 7.
libyang[0]: Unknown element "contexts".
libyang[0]: There are unresolved data items left.
Failed to parse data.

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