[YANGTOOLS-1523] Do not trim XML element text Created: 21/Jul/23  Updated: 05/Oct/23  Resolved: 05/Oct/23

Status: Resolved
Project: yangtools
Component/s: codecs
Affects Version/s: None
Fix Version/s: 12.0.0

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:
Issue split
split from YANGTOOLS-1522 XML parser omits leading/trailing whi... Resolved

 Description   

XmlParserStream trims the text reported in elements when parsing values. This makes the parser more lenient to malformed XMLs like

<foo> 9</foo>

for uint8, but it also applies a generally-invalid transformation on the data. Do not trim element content and require it to be well-formed.


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