Flight Log / dotnet/runtime #118081

Fix ArgumentOutOfRangeException in XmlReader when parsing malformed UTF-8 sequences — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in dotnet/runtime on Jul 26, 2025; a burn — closed unmerged after human review: +20 −1, 3 files, 3 reviews.

All agent flights in dotnet/runtime · GitHub Copilot flights

BurnGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+20 −1
Files
3
Commits
3
Reviews
3
To merge
—
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

GitHub Copilot attempts a fix in dotnet/runtime for an ArgumentOutOfRangeException thrown by XmlReader.Create when malformed UTF-8 appears in the XML declaration, where XmlException was expected. The pull request spans 20 added lines across three files in three commits. It is a burn, closed unmerged after human review, with three review comments and zero change requests.

“@krwq What do you think of this fix approach. On the surface, it seems to be potentially a broader change than this specific scenario, which”

— from the review (source)

From the pull request description

This PR fixes an issue where `XmlReader.Create(stream)` throws an undocumented `ArgumentOutOfRangeException` instead of the expected `XmlException` when parsing malformed XML containing invalid UTF-8 sequences in the XML declaration. ## Problem When parsing XML like `<?xml version="1.0\xbf"?>` fro…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —reviewed
  4. —committedJeff Handley
  5. —reviewed
  6. Jul 29, 2025closedjeffhandley

Cite this flight: AgentRiders Flight Log, dotnet/runtime#118081, record updated Nov 3, 2026, https://agentriders.com/logs/dotnet/runtime/118081/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.