pyang icon indicating copy to clipboard operation
pyang copied to clipboard

Effects of errors on schema

Open remingtonc opened this issue 5 years ago • 2 comments

Do any of these errors impact derivation of XPaths? e.g. if I supply a --hello and some of the nodes throw these errors, is there potential for there to be "missing" data from the schema when it's output?

  • [ ] PATTERN_ERROR
  • [ ] TYPE_VALUE
  • [ ] XPATH_SYNTAX_ERROR
  • [ ] LEAFREF_IDENTIFIER_NOT_FOUND
  • [ ] BAD_STATUS_REFERENCE
  • [ ] NODE_NOT_FOUND
  • [ ] DUPLICATE_CHILD_NAME
  • [ ] GROUPING_NOT_FOUND

remingtonc avatar Aug 05 '20 21:08 remingtonc

Sorry, I don't understand.

fredgan avatar Aug 07 '20 01:08 fredgan

I'm trying to determine if any of these errors would indicate the "schema" being "broken". For instance - if I have a YANG module containing XPath /a/b/c/d and any of these errors were encountered during the parsing of that YANG module, for instance at node /a/b/c - would c, and/or child nodes such as d, not be parsed/presented?

remingtonc avatar Aug 07 '20 06:08 remingtonc