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 rng gem #1

Open
ronaldtse opened this issue Nov 21, 2024 · 2 comments
Open

Fix rng gem #1

ronaldtse opened this issue Nov 21, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ronaldtse
Copy link
Contributor

ronaldtse commented Nov 21, 2024

The rng gem is meant to parse RELAX NG and RELAX NG COMPACT (RNC) schemas and provide a DSL for building them.

Currently the specs are failing.

The task is to create a fully working version of the gem that can read and round-trip RNG and RNC schemas. We need to add spec/fixtures files of known examples of RNG and RNC for round-trip testing purposes.

@ronaldtse ronaldtse changed the title Create RNC gem Fix rng gem Nov 27, 2024
@ronaldtse
Copy link
Contributor Author

ronaldtse commented Mar 18, 2025

The main issue now is the support for "blank XML elements" (like <text/>) that are heavily used by RNG to indicate presence. This was not supported by lutaml-model as we treated empty values practically as nil.

It is now supported with the new (and refined) value_map functionality (still draft):

@ronaldtse ronaldtse added the enhancement New feature or request label Mar 18, 2025
@ronaldtse
Copy link
Contributor Author

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