Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix line number reporting when parsing csdl with multiline reference element #3118

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

habbes
Copy link
Contributor

@habbes habbes commented Nov 12, 2024

Issues

This pull request fixes #3105

Description

This is a follow up to the PR #3115. I found another case where we're using ReadOuterXml when parsing the edmx:Reference element, which means we'll get incorrect line number reporting for its children if there are new lines in between the attributes.

I've applied a fix similar to PR #3115

Checklist (Uncheck if it is not completed)

  • Test cases added
  • Build and test with one-click build and test script passed

xuzhg
xuzhg previously approved these changes Nov 12, 2024
@habbes habbes merged commit 96098ba into main Nov 13, 2024
5 checks passed
@habbes habbes deleted the csdl-reader-reference-line-number branch November 13, 2024 06:22
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.

CsdlReader reports incorrect line numbers if there are multi-line opening tag
3 participants