[YANGTOOLS-1064] Restconf / SAXParseException errors on XML payload with nested <config>...</config> statements Created: 09/Jan/20 Updated: 10/Jan/20 Resolved: 10/Jan/20 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | High |
| Reporter: | Jeff Hartley | Assignee: | Balaji Varadaraju |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The error in question is this: ...which appears in Fluorine-SR1 (2.0.12), but not Fluorine-SR3 (2.0.20), and not Nitrogen-SR3 (...older). It applies to XML payloads submitted via restconf where there are multiple "nested" <config> .. </config> sections. Example POST that triggers the parsing error: <?xml version="1.0" encoding="UTF-8"?> Our folks noticed that this looks like something we could cherry-pick as a good match; looking for feedback here: [Curious: Affects-Versions in this JIRA form doesn't list yangtools 2.0.12 as a valid match; fyi] Thanks; |
| Comments |
| Comment by Balaji Varadaraju [ 09/Jan/20 ] |
|
rovarga Is the following fix addresses the same issue? https://jira.opendaylight.org/browse/YANGTOOLS-1002
https://git.opendaylight.org/gerrit/q/yangtools-1002
|
| Comment by Balaji Varadaraju [ 10/Jan/20 ] |
|
I think we need to pick this fix for this |
| Comment by Balaji Varadaraju [ 10/Jan/20 ] |
|
As suspected https://git.opendaylight.org/gerrit/c/yangtools/+/78479 fixes this issue. This can be closed. |
| Comment by Daniel De La Rosa [ 10/Jan/20 ] |
|
bvaradar confirmed that this has been fixed already |