Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1523

Do not trim XML element text

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 12.0.0
    • codecs
    • None

    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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: