Closed Mingun closed 3 months ago
Attention: Patch coverage is 30.88235%
with 47 lines
in your changes missing coverage. Please review.
Project coverage is 60.16%. Comparing base (
7558577
) to head (0315ed0
). Report is 59 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
src/escape.rs | 24.13% | 44 Missing :warning: |
src/events/attributes.rs | 0.00% | 3 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR fixes 2 errors that I found when working on a new way to represent entity references:
quick_xml
does not allow too long numbers to represent character references. It, however, does not takes in account, that any number of leading zeroes are allowed, so the real character entity length can be any. Conformance test suite contains such tests.739 introduced regression where
Attribute::unescape_value
no longer unescaped predefined entities. That was fixed and checked that no similar places remainsCorresponding test (xmltest\valid\sa\042.xml -- one of):