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

Ditch URI as namespace identifier

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Highest
    • Resolution: Done
    • None
    • 7.0.0
    • parser
    • None

    Description

      URI is a bit baroque for our needs as namespace representation. It is not as clunky as java.util.Date was for revision-date, but there are still issues.

      Most notably we routinely need to convert between String-based Java namespace and URI, hence we end up adding caches, which is suboptimal.

      Bite the bullet and define a yang.common.Namespace, which will just wrap a String and validate it.

      Attachments

        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: