According to the specification:
All derived type names defined within a parent node or at the top-level of
the module or its submodules share the same type identifier namespace.
This namespace is scoped to the parent node or module. All identifiers
defined in a namespace MUST be unique.
I define a module and its submodule. At the top-level of the module and the
submodule I declare types with the same name. So, according to the
specification they share the same namespace. Since it's not allowed to
define types with the same name within one namespace, the validation of the
module should end up with an error. But while validating such a test case,
pyang consider it to be correct. Please, find test case files attached.
What version of the product are you using? On what operating system?
pyang 0.9.3
Original issue reported on code.google.com by kur...@gmail.com on 16 Apr 2009 at 1:46
Original issue reported on code.google.com by
kur...@gmail.com
on 16 Apr 2009 at 1:46Attachments: