#772: Add reader::Config::allow_unmatched_ends to permit dangling end tags.
Bug Fixes
#773: Fixed reporting incorrect end position in Reader::read_to_end family of methods and trimming of the trailing spaces in Reader::read_text when trim_text_start is set and the last event is not a Text 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 in read_event_into() and read_event_into_async() in some circumstances.
Misc Changes
#771: EscapeError::UnrecognizedSymbol renamed to EscapeError::UnrecognizedEntity.
#772: Add reader::Config::allow_unmatched_ends to permit dangling end tags
Bug Fixes
#773: Fixed reporting incorrect end position in Reader::read_to_end family
of methods and trimming of the trailing spaces in Reader::read_text when
trim_text_start is set and the last event is not a Text 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 in read_event_into()
and read_event_into_async() in some circumstances.
Misc Changes
#771: EscapeError::UnrecognizedSymbol renamed to EscapeError::UnrecognizedEntity.
#751: Fix internal overflow when read 4GB+ files on 32-bit targets using Reader<impl BufRead> readers.
Misc Changes
#760: Attribute::decode_and_unescape_value and Attribute::decode_and_unescape_value_with now
accepts Decoder instead of Reader. Use Reader::decoder() to get it.
#760: Writer::write_event now consumes event. Use Event::borrow() if you want to keep ownership.
#751: Type of Reader::error_position() and Reader::buffer_position() changed from usize to u64.
#751: Type alias Span changed from Range<usize> to Range<u64>.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on quick-xml to permit the latest version.
Release notes
Sourced from quick-xml's releases.
Changelog
Sourced from quick-xml's changelog.
... (truncated)
Commits
22b3e45
Release 0.35.0ae9fca6
Add link to issue that when resolved may allow us to not exclude tests & exam...0534c87
Fix missing text events in some circumstances022441f
Add regression tests for #7749a72c7b
Merge pull request #771 from Mingun/escape-fixes0315ed0
Fix Attribute::unescape_value does not unescape predefined entities since #739aa1d391
Reuse existing method with does the same thing whenencoding
feature is dis...80bf12d
Add helper to decoder Cow data, which retains original lifetime42d7123
Do not allow (positive) sign in character references04bddd6
Use standard methods to parse character reference to a numberDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show