Name | Modified | Size | Downloads / 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 existingNsReader
: 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
andBytesRef::xml_content
methods which returns XML EOL normalized strings. - [#806]: Add
BytesText::html_content
,BytesCData::html_content
andBytesRef::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
- @fukusuket made their first contribution in https://github.com/tafia/quick-xml/pull/874
- @xdm67x made their first contribution in https://github.com/tafia/quick-xml/pull/882
Full Changelog: https://github.com/tafia/quick-xml/compare/v0.38.0...v0.38.1