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

RNG schema generation #79

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

RNG schema generation #79

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

Comments

@wendellpiez
Copy link
Collaborator

User Story:

Much in the way a Metaschema produces an XSD, it could potentially produce an RNG schema.

An interesting question would be to see how flags, fields and assemblies map to RNG patterns. This in itself could be highly instructive and supportive of other schema-alignment activities.

Goals:

An RNG generator in XSLT more or less functionally analogous to the XSD or JSON Schema generators, i.e. focusing on the 'legal tagging' questions of the models (element and attribute names and content models), not the metaschema-based constraints definitions.

Also, a more nuanced understanding of the potentials of Metaschema.

Secondary goals include RNG schemas for any Metaschema-defined formats.

More specific goals tbd - while a PR to close this issue might include a functional and documented implementation.

Dependencies:

None known. This could be a fun and instructive research project for an XSLT developer interested in Metaschema, especially one already familiar with RNG.

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.

{The items above are general acceptance criteria for all User Stories. Please describe anything else that must be completed for this issue to be considered resolved.}

@wendellpiez wendellpiez added the enhancement New feature or request label Oct 28, 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