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

Fixed the XML for the testlib #154

Merged
merged 3 commits into from
Mar 27, 2024
Merged

Fixed the XML for the testlib #154

merged 3 commits into from
Mar 27, 2024

Conversation

VisLab
Copy link
Member

@VisLab VisLab commented Mar 27, 2024

Note: The current version of the prelease of 8.3.0 does not validate because we are in the process of adding allowedCharacter support. A subsequent pull request will fix this @IanCa.

@IanCa
Copy link
Member

IanCa commented Mar 27, 2024

It would probably be best to put it on the unit only rather than the unitClass or both? When validating it's just going to check if the default unit exists or not, it won't care at that point if it has invalid characters. It will check the invalid characters on the actual unit.

Also just to note, this is a new case where "allowedCharacter" will now have a direct impact on a schema, rather than just normal validation of value classes. This isn't a problem for me, just confirming intent.

@IanCa
Copy link
Member

IanCa commented Mar 27, 2024

Validation is failing because allowedCharacter is only applicable to value classes(in the current 8.3.0), but used on units and unit classes.

@VisLab VisLab merged commit 173be29 into hed-standard:main Mar 27, 2024
1 check failed
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.

2 participants