Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yanglint parse error for "reference" #20

Closed
classcwnd opened this issue Feb 9, 2016 · 1 comment
Closed

yanglint parse error for "reference" #20

classcwnd opened this issue Feb 9, 2016 · 1 comment
Assignees

Comments

@classcwnd
Copy link

Hi,

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

> add [email protected]
libyang[0]: Parser fails around the line 24.
libyang[0]: Invalid value "text" of "reference".

We have following statement in line 24 of [email protected]. 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

@classcwnd
Copy link
Author

I found it is caused by <text/>, because <description> also has such problem.

<description>
  <text/>
</description>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants