Details
-
Bug
-
Status: Resolved
-
Resolution: Won't Do
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
2685
Description
When max-elements or min-elements are not specified in the yang file, schema.getConstraints().getMinElements() and shema.getConstraints().getMaxElements() returns null. According to YANG specification when these statements are not found, they should hold default values of "0" for min-elements and "unbounded" for max elements. (which could be Integer.MAX_VALUE)