tefra / xsdata

Naive XML & JSON Bindings for python
https://xsdata.readthedocs.io
MIT License
310 stars 56 forks source link

feat: Remove whitespace from bytes encoded xml strings #1037

Closed tefra closed 2 months ago

tefra commented 2 months ago

📒 Description

At some point we enabled strict bytes parsing and in a lot of samples people/libraries love to split the values into multiple lines which now fails in xsdata. Let's ensure no whitespace exists before we parse the actual value

Resolves #xxxx

🔗 What I've Done

Write a description of the steps taken to resolve the issue

💬 Comments

A place to write any comments to the reviewer.

🛫 Checklist

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (d561ff5) to head (a5f36fa).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1037 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 115 115 Lines 9282 9284 +2 Branches 2190 2190 ========================================= + Hits 9282 9284 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.