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

XML parsing errors for external constraints with nested contexts #328

Open
aj-stein-nist opened this issue Feb 23, 2024 · 0 comments
Open
Labels
bug Something isn't working java Pull requests that update Java code

Comments

@aj-stein-nist
Copy link
Collaborator

aj-stein-nist commented Feb 23, 2024

Describe the bug

While pairing on the creation of example models to demonstrate the usage of constraint let variable bindings and its implications, we ran into some where example external constraint modules were not parsing with XML correctly for nested context assemblies. I am reporting this bug and adding integration tests to help perform root cause analysis and fix a bug.

Who is the bug affecting?

Developers using the Java libraries or metaschema-cli to process external constraints and validate document instance(s) with them.

What is affected by this bug?

Deserializing and procssing externalized metaschema constraints.

When does this occur?

Consistently.

How do we replicate the issue?

  1. Use the referenced examples.
  2. Run the following commands, see the version info about the development build, commands, and sample files in this Gist: https://gist.github.com/aj-stein-nist/b676708701902c54770c2bacad8c2ce9.

Expected behavior (i.e. solution)

The processor properly validates valid document instances but also properly outputs relevant messages about relevant errors.

Other Comments

N/A

@aj-stein-nist aj-stein-nist added bug Something isn't working java Pull requests that update Java code labels Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working java Pull requests that update Java code
Projects
None yet
Development

No branches or pull requests

1 participant