Download Latest Version v0.38.1 - EOL normalization in events source code.tar.gz (1.5 MB)
Email in envelope

Get an email when there's a new version of quick-xml

Home / v0.38.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-08-03 1.4 kB
v0.38.1 - EOL normalization in events source code.tar.gz 2025-08-03 1.5 MB
v0.38.1 - EOL normalization in events source code.zip 2025-08-03 1.5 MB
Totals: 3 Items   3.0 MB 5

What's Changed

Important changes

To get text in events according to the XML specification (normalized EOLs) use the new methods xml_content() instead of decode(). Deserializer uses new method automatically.

New Features

  • [#882]: Add new methods to create Deserializer from existing NsReader:
  • Deserializer::borrowing
  • Deserializer::borrowing_with_resolver
  • Deserializer::buffering
  • Deserializer::buffering_with_resolver
  • [#878]: Add ability to serialize structs in $value fields. The struct name will be used as a tag name. Previously only enums was allowed there.
  • [#806]: Add BytesText::xml_content, BytesCData::xml_content and BytesRef::xml_content methods which returns XML EOL normalized strings.
  • [#806]: Add BytesText::html_content, BytesCData::html_content and BytesRef::html_content methods which returns HTML EOL normalized strings.

Bug Fixes

  • [#806]: Properly normalize EOL characters in Deserializer.
  • [#888]: Properly split attribute values by items when deserialize attribute into list of values and attribute requires decoding.

New Contributors

Full Changelog: https://github.com/tafia/quick-xml/compare/v0.38.0...v0.38.1

Source: README.md, updated 2025-08-03