[YANGTOOLS-1141] Ditch URI as namespace identifier Created: 17/Oct/20  Updated: 07/Feb/21  Resolved: 07/Feb/21

Status: Resolved
Project: yangtools
Component/s: parser
Affects Version/s: None
Fix Version/s: 7.0.0

Type: Improvement Priority: Highest
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.


Generated at Wed Feb 07 20:55:18 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.