Skip to content

Comments

Split SyntaxError::UnclosedPIOrXmlDecl into separate enum variants#924

Merged
Mingun merged 1 commit intotafia:masterfrom
SuchAFuriousDeath:unclosed-xml-decl-pi-split
Dec 25, 2025
Merged

Split SyntaxError::UnclosedPIOrXmlDecl into separate enum variants#924
Mingun merged 1 commit intotafia:masterfrom
SuchAFuriousDeath:unclosed-xml-decl-pi-split

Conversation

@SuchAFuriousDeath
Copy link

Implements #916

The SyntaxError enum is public, so this is a breaking change.
The Parser trait is also public, so the method signature change is also a breaking change.

@SuchAFuriousDeath
Copy link
Author

I will do my best to address reviews as fast as I can. Once this is merged, I would appreciate a new release very much :)

@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 85.71429% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.06%. Comparing base (d1acdb5) to head (e9ad237).
⚠️ Report is 10 commits behind head on master.

Files with missing lines Patch % Lines
src/errors.rs 0.00% 2 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #924      +/-   ##
==========================================
- Coverage   58.08%   58.06%   -0.02%     
==========================================
  Files          42       42              
  Lines       15513    15552      +39     
==========================================
+ Hits         9011     9031      +20     
- Misses       6502     6521      +19     
Flag Coverage Δ
unittests 58.06% <85.71%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@Mingun Mingun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably, that the right way to do that. I haven't looked in detail yet, but I already see a problem with the potential handling of currently unsupported encodings. I would like to see at least #[ignore]d tests added for these cases and FIXMEs in problematic lines.

Also, such change needs changelog entry. I prefer if you rebase your branch over current master instead of merging (that is needed to prevent merge conflict in Changelog.md).

@Mingun Mingun force-pushed the unclosed-xml-decl-pi-split branch from cf62324 to e9ad237 Compare December 25, 2025 16:56
@Mingun Mingun merged commit d7838c3 into tafia:master Dec 25, 2025
7 checks passed
@SuchAFuriousDeath SuchAFuriousDeath deleted the unclosed-xml-decl-pi-split branch December 25, 2025 17:28
@Mingun
Copy link
Collaborator

Mingun commented Dec 25, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants