Sourced from quick-xml's releases.
v0.36.0 - Compatibility with Adobe Flash
What's Changed
Bug Fixes
- #781: Fix conditions to start CDATA section. Only uppercase
<![CDATA[
can start it. Previously any case was allowed.- #780: Fixed incorrect
.error_position()
when encountering syntax error for open or self-closed tag.Misc Changes
- #780:
reader::Parser
,reader::ElementParser
andreader::PiParser
moved to the new moduleparser
.- #776: Allow to have attributes in the end tag for compatibility reasons with Adobe Flash XML parser.
#776: tafia/quick-xml#776 #780: tafia/quick-xml#780 #781: tafia/quick-xml#781
Full Changelog: https://github.com/tafia/quick-xml/compare/v0.35.0...v0.36.0
Sourced from quick-xml's changelog.
0.36.0 -- 2024-07-08
Bug Fixes
- #781: Fix conditions to start CDATA section. Only uppercase
<![CDATA[
can start it. Previously any case was allowed.- #780: Fixed incorrect
.error_position()
when encountering syntax error for open or self-closed tag.Misc Changes
- #780:
reader::Parser
,reader::ElementParser
andreader::PiParser
moved to the new moduleparser
.- #776: Allow to have attributes in the end tag for compatibility reasons with Adobe Flash XML parser.
#776: tafia/quick-xml#776 #780: tafia/quick-xml#780 #781: tafia/quick-xml#781
0.35.0 -- 2024-06-29
New Features
- #772: Add
reader::Config::allow_unmatched_ends
to permit dangling end tagsBug Fixes
- #773: Fixed reporting incorrect end position in
Reader::read_to_end
family of methods and trimming of the trailing spaces inReader::read_text
whentrim_text_start
is set and the last event is not aText
event.- #771: Character references now allow any number of leading zeroes as it should. As a result, the following variants of
quick_xml::escape::EscapeError
are removed:
TooLongDecimal
TooLongHexadecimal
- #771: Fixed
Attribute::unescape_value
which does not unescape predefined values since 0.32.0.- #774: Fixed regression since 0.33.0:
Text
event may be skipped inread_event_into()
andread_event_into_async()
in some circumstances.Misc Changes
- #771:
EscapeError::UnrecognizedSymbol
renamed toEscapeError::UnrecognizedEntity
.- #771: Implemented
PartialEq
forEscapeError
.- #771: Replace the following variants of
EscapeError
byInvalidCharRef
variant with a newParseCharRefError
inside:
EntityWithNull
InvalidDecimal
InvalidHexadecimal
InvalidCodepoint
... (truncated)
10ddcb7
Release 0.36.0959eb55
Merge pull request #780
from Mingun/end-attributes6a48a28
Allow to have attributes in closing tags (compatibility with the Adobe
Flash ...45e8be4
Use .error_position()
instead of
.buffer_position()
in examples where err...df65be0
Fix incorrect .error_position()
when encountering syntax
error for open or ...ecc7ef3
Actually check that .error_position() is correctd387ed7
Move Parser
, ElementParser
and
PiParser
to the new module parser
.0d99a16
Assert syntax errors via pretty_assertionsbe86267
Do not use Default
implementation to construct parsers28c031d
Remove incorrect example