[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
Platform: 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 ]

Fix: https://git.opendaylight.org/gerrit/#/c/59167/

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