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 error message in C# xmlization on declarations #421

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

mristin
Copy link
Contributor

@mristin mristin commented Nov 9, 2023

When we encountered XML declarations, we threw exceptions with uninformative messages. Namely, we expect the reader to be moved to the content, but most users omitted to read that in the documentation.

We refine the error message for this particular situation, and hint at MoveToContent method on the reader.

See this aas-core3.0-csharp issue for more details.

When we encountered XML declarations, we threw exceptions with
uninformative messages. Namely, we expect the reader to be moved to the
content, but most users omitted to read that in the documentation.

We refine the error message for this particular situation, and hint at
`MoveToContent` method on the reader.

See [this aas-core3.0-csharp issue] for more details.

[this aas-core3.0-csharp issue]: aas-core-works/aas-core3.0-csharp#24
@mristin mristin merged commit 28fbd98 into main Nov 9, 2023
3 checks passed
@mristin mristin deleted the mristin/Fix-xml-declaration-error-message-in-C# branch November 9, 2023 10:50
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.

1 participant