[YANGTOOLS-1191] Eliminate exception throws from UnrecognizedEffectiveStatementImpl Created: 30/Nov/20 Updated: 06/Dec/20 Resolved: 06/Dec/20 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0, 5.0.8, 6.0.2 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Epic Link: | Parser Performance |
| Description |
|
Unrecognized statements get some very weird handling in an attempt to create a SchemaPath, including attempting to create QNames. This leads to a lot of exceptions being thrown:
We should be able to do better if we expose validity checking mechanics from AbstractQName and rely on that instead of throwing/catching exceptions. |