Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-820

Clean up ModuleIdentifier use in yang-parser-impl

    XMLWordPrintable

Details

    • Bug
    • Status: Verified
    • Resolution: Done
    • None
    • 2.0.0
    • None
    • None
    • Operating System: All
      Platform: All

    • 9296

    Description

      YANG parser's use of ModuleIdentifier is muddling its definition, because it is using weird wildcards to express import/belongs to statements – specifically it is using constants to express 'no revision'.

      These should be handled via a ModuleIdentifier matcher class, so that the wildcard match is correctly expressed and we can eliminate SimpleDateFormatUtil's DEFAULT_DATE_REV, DEFAULT_DATE_IMP and DEFAULT_BELONGS_TO_DATE.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: