[YANGTOOLS-791] New XML parser should support setting of strict/lenient parsing mode Created: 19/Jun/17 Updated: 10/Apr/22 Resolved: 24/Jul/17 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Igor Foltin | Assignee: | Igor Foltin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8715 |
| Description |
|
The old XML parser provides a switch which allows us to set the strict parsing mode on/off. If the mode is off, the parser skips unknown child nodes in YANG containers and lists. If it is switched on, the parser will throw an exception if it encounters such nodes. This feature should be added to the new XML parser. |
| Comments |
| Comment by Igor Foltin [ 19/Jun/17 ] |