Skip to content

XmlDecoder/XmlParser: throw BadDecodingError for empty/non-element enumerated arrays - #3677

Merged
marcschier merged 17 commits into
masterfrom
copilot/fix-xml-decoder-peek-exception
Apr 20, 2026
Merged

marcschier merged 17 commits into
masterfrom
copilot/fix-xml-decoder-peek-exception

Fix ReadEnumeratedThrowsWhenInvalid regression assertion

9fe1661
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Apr 19, 2026 in 0s

71.67% (-0.08%) compared to c71f2e7

View this Pull Request on Codecov

71.67% (-0.08%) compared to c71f2e7

Details

Codecov Report

❌ Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 71.67%. Comparing base (c71f2e7) to head (9fe1661).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
Stack/Opc.Ua.Types/Encoders/XmlDecoder.cs 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3677      +/-   ##
==========================================
- Coverage   71.74%   71.67%   -0.08%     
==========================================
  Files         521      519       -2     
  Lines      115264   115037     -227     
  Branches    19451    19442       -9     
==========================================
- Hits        82697    82451     -246     
- Misses      26981    26994      +13     
- Partials     5586     5592       +6     

☔ 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.