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

Report unexpected test in XML sequences #19

Merged

Conversation

mristin
Copy link
Contributor

@mristin mristin commented Jun 24, 2023

Currently, we break out of the loop when parsing sequences of XML elements representing properties of an instances. This gives misleading error messages ("required property not set").

Instead, with this patch, we report that the text is unexpected, which is much clearer to the user.

Currently, we break out of the loop when parsing sequences of
XML elements representing properties of an instances. This gives
misleading error messages ("required property not set").

Instead, with this patch, we report that the text is unexpected, which
is much clearer to the user.
@mristin mristin merged commit eca805a into main Jun 24, 2023
1 check passed
@mristin mristin deleted the mristin/Fix-reporting-unexpected-text-in-XML-sequences branch June 24, 2023 08:10
mristin added a commit that referenced this pull request Jun 28, 2023
* Report unexpected test in XML sequences (#19)
* Update to aas-core-meta, codegen, testgen 44756fb, e2b793f,
  bf3720d7 (#18)
  * This is an important patch propagating in particular the following
    fixes which affected the constraints and their documentation:
  * Pull requests in aas-core-meta [#271], [#272] and [#273] which
    affect the nullability checks in constraints,
  * Pull request in aas-core-meta [#275] which affects
    the documentation of many constraints.
@mristin mristin mentioned this pull request Jun 28, 2023
mristin added a commit that referenced this pull request Jun 28, 2023
* Report unexpected text in XML sequences (#19)
* Update to aas-core-meta, codegen, testgen 44756fb, e2b793f,
  bf3720d7 (#18)
  * This is an important patch propagating in particular the following
    fixes which affected the constraints and their documentation:
  * Pull requests in aas-core-meta 271, 272 and 273 which
    affect the nullability checks in constraints,
  * Pull request in aas-core-meta 275 which affects
    the documentation of many constraints.
mristin added a commit that referenced this pull request Jun 28, 2023
* Report unexpected text in XML sequences (#19)
* Update to aas-core-meta, codegen, testgen 44756fb, e2b793f,
  bf3720d7 (#18)
  * This is an important patch propagating in particular the following
    fixes which affected the constraints and their documentation:
  * Pull requests in aas-core-meta 271, 272 and 273 which
    affect the nullability checks in constraints,
  * Pull request in aas-core-meta 275 which affects
    the documentation of many constraints.
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.

None yet

1 participant