[YANGTOOLS-966] Integrate YANG parser with XPath parser Created: 16/Mar/19 Updated: 31/Oct/19 Resolved: 31/Oct/19 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.3, 3.0.7 |
| 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 | ||
| Issue Links: |
|
||||||||||||
| Description |
|
We now have a custom XPath parser which allows extension and introspection. This allows us to update RevisionAwareXpath interface to expose a properly-parsed XPath, without the need for users to muck with strings and modules. Integrate yang-xpath-api into yang-model-api and extend YANG parser to properly parse XPath strings. Also expose an option for performing lenient parsing, so that users can fall back to old behavior should there be any bugs. |