[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: PNG File image-2020-11-30-17-28-36-047.png    
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.


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