Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
4539
Description
If you omit the ending '}' for a leaf statement, parsing succeeds and code is generated, or at least some of it as in some cases Java compilation may fail.
Example: in the mdsal project, go to mdsal/model/ietf/ietf-restconf and do mvn clean. Open src/main/yang/ietf-restconf@2013-10-19.yang. On line 189, remove the ending '}':
leaf edit-id
{ type string; description "Arbitrary string index for the edit. Error messages returned by the server pertaining to a specific edit will be identified by this value."; }--> line 189
Run mvn and you should see yang parsing succeed and files generated but a Java compilation error.
Attachments
Issue Links
- blocks
-
INTDIST-42 config-pusher error in messaging4transport when install odl-integration-compatible-with-all
- Resolved