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

Failed schema validation due to dependency #4

Open
ebrassfieldbourke opened this issue Sep 18, 2024 · 0 comments
Open

Failed schema validation due to dependency #4

ebrassfieldbourke opened this issue Sep 18, 2024 · 0 comments

Comments

@ebrassfieldbourke
Copy link
Contributor

plane.energy.bounds = Interval(msmd_dict["wl_lower"], msmd_dict["wl_upper"])

Now that we can curl -v and input xml files, the more complex xml record input fails schema validation:

invalid input: caom:EMERLIN/TS8004_C_001_20190801 reason: XML failed schema validation: Error on line 38: cvc-complex-type.2.4.b: The content of element 'caom2:bounds' is not complete. One of '{"http://www.opencadc.org/caom2/xml/v2.4":samples}' is expected.

[ ] Include Energy.bounds.samples in mapping for 2.4, as the as SampledInterval.samples is required for Energy.bounds to pass schema validation.

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

No branches or pull requests

1 participant