-
Notifications
You must be signed in to change notification settings - Fork 2
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
New Firely validator does not complain when extension is used outside of its context #267
Comments
|
I can confirm this blindly: We don't check the context at all - never implemented that! |
BTW: We're trying to avoid having validator issues here. We will need to transfer this issue to the validator repo, but since this is a private repo (at this moment), I cannot use GitHub's transfer funtion yet, so have to do that when we open up the repo in january! |
@ewoutkramer - do you know if the old validator checked extension context? I'm working with a support issue on this very profile and am making sure I understand what's happening. Thank you! 😄 |
No, extension context checking was never implemented in the old validator. |
@ewoutkramer do you happen to know when the new validator will be public? We want to start using profile validation within our code, and have been trying to use the legacy one, but figured it would be much better to use the more recent one. |
This week - we're busy preparing the release! |
Thanks @alexzautke, appreciate the confirmation. Looks like we need to update to the new one. 😄 |
The new validator is available, I transferred the issue |
Just to manage expectations: It's not yet implemented in the new one either ;-) We'll bump the priority now I know someone is waiting for it. |
duplicate of #134 |
The context can be defined in three different ways: We have notion of the definition path to validate these contexts. |
Describe the bug
When validating a resource which uses an extension outside of its defined context, the new Firely validator does not report an error.
To Reproduce
Address
: https://simplifier.net/Signal-MSO-FHIR-Profiles/SignalRegion/~xmlExpected behavior
Error that the extension is incorrectly used
Screenshots
See next comment
Version used:
Additional context
Slack Message
The text was updated successfully, but these errors were encountered: