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

Do not trim XML element text

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 12.0.0
    • None
    • codecs
    • None

      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.

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

              Created:
              Updated:
              Resolved: