mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
535 stars 344 forks source link

module_not_imported for simple samples #759

Open mrehder opened 3 years ago

mrehder commented 3 years ago

pyang 2.3.2 a pyang validation request is reporting "module_not_imported" error: no module with the namespace "urn:ietf:params:xml:ns:netconf:base:1.0" is imported on an XML instance built by json2xml. The same error happens if I try to validate a sample skeleton generated by pyang. It doesn't matter if I add an import for a module with that namespace into the yang module. Suppressing the error seems to suppress all validation so I'm stuck. about how to solve this issue