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

Making runtime lapses noisier / improving checks #80

Open
3 tasks
wendellpiez opened this issue Oct 31, 2023 · 0 comments
Open
3 tasks

Making runtime lapses noisier / improving checks #80

wendellpiez opened this issue Oct 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@wendellpiez
Copy link
Collaborator

User Story:

In some conditions of not-yet-ready, metaschemas currently give misleading error messages from the Schematron - for example, if an assembly is defined but not used, the Schematron can report errors for its child definitions not linking up, when it is the parent that is not linked yet.

This is easily enough checked by generating an XSD and finding in it comments showing where definitions have been dropped (that were never called).

Here is a micro-metaschema that demonstrates:

issue80-micro-metaschema.zip

Goals:

Two possible improvements here:

  1. Refine metaschema check or error message to find the bug better
  2. Make schema generation 'noisier' (both XSD and JSON Schema production) about definitions not included - xsl:message with a parameterized switch to turn on?

Dependencies:

This is a good issue for someone who wishes to dip into the Schematron and XSLT and modify them, but who wants to avoid a deep exercise in analysis or refactoring.

Acceptance Criteria

  • All website and readme documentation affected by the changes in this issue have been updated. Changes to the website can be made in the docs/content directory of your branch.
  • A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR.
  • The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.
@wendellpiez wendellpiez added the enhancement New feature or request label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant