Skip to content

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

Draft
Mingun wants to merge 2 commits intotafia:masterfrom
Mingun:fix-597
Draft

Fix #597: Pop namespace scope after NsReader::read_to_end#598
Mingun wants to merge 2 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 Report

Merging #598 (a619fc1) into master (9fb797e) will increase coverage by 0.08%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #598      +/-   ##
==========================================
+ Coverage   64.38%   64.47%   +0.08%     
==========================================
  Files          35       35              
  Lines       16676    16676              
==========================================
+ Hits        10737    10752      +15     
+ Misses       5939     5924      -15     
Flag Coverage Δ
unittests 64.47% <100.00%> (+0.08%) ⬆️

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

Impacted Files Coverage Δ
src/reader/ns_reader.rs 68.14% <100.00%> (+4.42%) ⬆️

... and 4 files with indirect coverage changes

Mingun and others added 2 commits February 4, 2026 23:27
failures (25):
  ns_reader.rs (24):
    reader::ns_reader::read_text::cdata
    reader::ns_reader::read_text::comment
    reader::ns_reader::read_text::decl
    reader::ns_reader::read_text::doctype
    reader::ns_reader::read_text::empty
    reader::ns_reader::read_text::pi
    reader::ns_reader::read_text::start
    reader::ns_reader::read_text::text

    reader::ns_reader::read_to_end::cdata
    reader::ns_reader::read_to_end::comment
    reader::ns_reader::read_to_end::decl
    reader::ns_reader::read_to_end::doctype
    reader::ns_reader::read_to_end::empty
    reader::ns_reader::read_to_end::pi
    reader::ns_reader::read_to_end::start
    reader::ns_reader::read_to_end::text

    reader::ns_reader::read_to_end_into::cdata
    reader::ns_reader::read_to_end_into::comment
    reader::ns_reader::read_to_end_into::decl
    reader::ns_reader::read_to_end_into::doctype
    reader::ns_reader::read_to_end_into::empty
    reader::ns_reader::read_to_end_into::pi
    reader::ns_reader::read_to_end_into::start
    reader::ns_reader::read_to_end_into::text
  issues.rs (1)
    issue597
… and read_text

failures (4):
    reader::ns_reader::read_text::start
    reader::ns_reader::read_text::text
    reader::ns_reader::read_to_end::start
    reader::ns_reader::read_to_end_into::start
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