Skip to content

add test for #2838 (or, more precisely, for #2839, the fix for #2838)#2867

Merged
martindholmes merged 2 commits intodevfrom
sydb_2838_attrs_of_dataRef_test
Feb 11, 2026
Merged

add test for #2838 (or, more precisely, for #2839, the fix for #2838)#2867
martindholmes merged 2 commits intodevfrom
sydb_2838_attrs_of_dataRef_test

Conversation

@sydb
Copy link
Member

@sydb sydb commented Jan 31, 2026

Add check to detest.xml¹ that a <dataRef> element with no attributes, or any two of @key, @name, & @ref is flagged as an error.

Note
¹ Because adding it to detest.odd would break the build, as these errors are caught be RELAX NG, not by Schematron.

with NO attributes, or any TWO of key=, name=, & ref= is flagged as
an error.
@sydb
Copy link
Member Author

sydb commented Jan 31, 2026

Well that’s an interesting test failure. Not sure what to do about it off the top of my head. Have to go offline to walk dogs, hope to look in ~1 hr.

jing reporting error at different columns on my system vs gitHub or docker?)
Copy link
Contributor

@martindholmes martindholmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, and reviewed. Looks good.

@martindholmes martindholmes merged commit 7ff35c9 into dev Feb 11, 2026
2 checks passed
@martindholmes martindholmes deleted the sydb_2838_attrs_of_dataRef_test branch February 11, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants