Skip to content

Avoid deprecated XML_GetCurrent{Line,Column}Number - #95

Merged
adamdickmeiss merged 1 commit into
masterfrom
avoid-deprecated-expat-functions
Oct 13, 2026
Merged

adamdickmeiss merged 1 commit into
masterfrom
avoid-deprecated-expat-functions

Conversation

@adamdickmeiss

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The version-gated implementation preserves backward compatibility while avoiding deprecated APIs.

0 open findings

What changed in this PR

Updates XML error reporting to use Expat’s non-deprecated 64-bit location APIs when available.

Changes:

  • Uses 64-bit line and column APIs with Expat 2.9+.
  • Retains compatibility with older Expat releases.
File Description
index/​mod_grs_xml.c Selects the appropriate Expat location API by version.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@adamdickmeiss
adamdickmeiss merged commit d9a835c into master Oct 13, 2026
3 checks passed
@adamdickmeiss
adamdickmeiss deleted the avoid-deprecated-expat-functions branch October 13, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants