Skip to content

yanglint parse error for "reference" #20

@classcwnd

Description

@classcwnd

Hi,

When I add a yin file, it reports following error:

> add interfaces-ext-ipos@2015-12-07.yin
libyang[0]: Parser fails around the line 24.
libyang[0]: Invalid value "text" of "reference".

We have following statement in line 24 of interfaces-ext-ipos@2015-12-07.yin. It seems that libyang doesn't support reference. Is that a limitation or bug of libyang?

     24    <reference>
     25       <text/>
     26     </reference>

The yang model is writen as following:

revision "2015-11-23" {
description
"rfc6020";
reference
"";

}

Thanks,
Yu

Metadata

Metadata

Assignees

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