Skip to content

Fix #597: Pop namespace scope after NsReader::read_to_end#598

Merged
Mingun merged 4 commits intotafia:masterfrom
Mingun:fix-597
Feb 15, 2026
Merged

Fix #597: Pop namespace scope after NsReader::read_to_end#598
Mingun merged 4 commits intotafia:masterfrom
Mingun:fix-597

Conversation

@Mingun
Copy link
Collaborator

@Mingun Mingun commented May 2, 2023

I want to check that the changes does not break anything else when read_to_end would be called after each possible returned events, but now I'm too lazy to finish the tests. Will do that on weekend.

@Mingun Mingun linked an issue May 2, 2023 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented May 2, 2023

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

Codecov Report

❌ Patch coverage is 40.00000% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.99%. Comparing base (d1acdb5) to head (fbcc986).
⚠️ Report is 37 commits behind head on master.

Files with missing lines Patch % Lines
src/reader/state.rs 0.00% 11 Missing ⚠️
src/name.rs 41.66% 7 Missing ⚠️
src/reader/async_tokio.rs 0.00% 3 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #598      +/-   ##
==========================================
- Coverage   58.08%   54.99%   -3.09%     
==========================================
  Files          42       44       +2     
  Lines       15513    16817    +1304     
==========================================
+ Hits         9011     9249     +238     
- Misses       6502     7568    +1066     
Flag Coverage Δ
unittests 54.99% <40.00%> (-3.09%) ⬇️

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.

Mingun and others added 4 commits February 14, 2026 20:51
failures (25):
  reader-namespaces.rs (24):
    read_text::cdata
    read_text::comment
    read_text::decl
    read_text::doctype
    read_text::empty
    read_text::general_ref
    read_text::pi
    read_text::text

    read_to_end::cdata
    read_to_end::comment
    read_to_end::decl
    read_to_end::doctype
    read_to_end::empty
    read_to_end::general_ref
    read_to_end::pi
    read_to_end::text

    read_to_end_into::cdata
    read_to_end_into::comment
    read_to_end_into::decl
    read_to_end_into::doctype
    read_to_end_into::empty
    read_to_end_into::general_ref
    read_to_end_into::pi
    read_to_end_into::text
  issues.rs (1)
    issue597
@Mingun Mingun marked this pull request as ready for review February 14, 2026 16:05
@Mingun Mingun merged commit 4f24f7f into tafia:master Feb 15, 2026
7 checks passed
@Mingun Mingun deleted the fix-597 branch February 15, 2026 12:31
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.

read_to_end breaks NsReader

2 participants