Skip to content

fix: normalize YARRRML nested-list po: blocks before parsing#62

Open
ThHanke wants to merge 1 commit into
mainfrom
fix/yarrrml-nested-list-normalization
Open

fix: normalize YARRRML nested-list po: blocks before parsing#62
ThHanke wants to merge 1 commit into
mainfrom
fix/yarrrml-nested-list-normalization

Conversation

@ThHanke

@ThHanke ThHanke commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

yarrrml-parser silently drops valid two-line nested-list po: blocks. Add normalize_yarrrml_nested_lists (yarrrml_utils.py) that converts them to inline-list form before the request hits yarrrml-parser.

Wire normalization into convert_yarrrml_to_rml (handles all callers) and refactor /api/yarrrmltorml to use that helper.

Add /api/normalizeyarrrml endpoint for inspection/debugging.

Unit tests in test_normalize_yarrrml.py; integration tests added to test_createrdfupload.py.

yarrrml-parser silently drops valid two-line nested-list po: blocks.
Add normalize_yarrrml_nested_lists (yarrrml_utils.py) that converts
them to inline-list form before the request hits yarrrml-parser.

Wire normalization into convert_yarrrml_to_rml (handles all callers)
and refactor /api/yarrrmltorml to use that helper.

Add /api/normalizeyarrrml endpoint for inspection/debugging.

Unit tests in test_normalize_yarrrml.py; integration tests added
to test_createrdfupload.py.
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.

1 participant