[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. |