You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute this with the schema/schematron generated and manually delivered to @rchenatjpl, it validates as expected:
$ validate --target model-lddtool/src/test/resources/github795/bundle.xml -S model-lddtool/src/test/resources/github795/xml_schema/PDS4_PDS_1N00.sch -x model-lddtool/src/test/resources/github795/xml_schema/PDS4_PDS_1N00.xsd
...
FAIL: file:/Users/jpadams/proj/pds/pdsen/workspace/pds4-information-model/model-lddtool/src/test/resources/github795/bundle.xml
ERROR [error.label.schematron] line 86, 33: The attribute reference_type must be set to one of the following values 'bundle_to_target'.
1 product validation(s) completed
...
More clearly, this applies to everything in that directory.
This is what I get from the current IM I generate from the repo.
@jshughes it looks like you send over some schema/schematrons that include the necessary rules to check for these reference_types, but those same things are not included when I run lddtool -p. Not sure what is going on there.
π Integration & Test
No response
The text was updated successfully, but these errors were encountered:
Checked for duplicates
Yes - I've already checked
π Describe the bug
When I did tried testing #795 action, I noticed the expected outcomes do not occur when running with the schema/schematron generated from
lddtool -p
π΅οΈ Expected behavior
I expected the schema/schematron produced would match that included in the repo.
When
π To Reproduce
When I execute this with the schema/schematron generated and manually delivered to @rchenatjpl, it validates as expected:
More clearly, this applies to everything in that directory.
This is what I get from the current IM I generate from the repo.
But this is what Richard got: https://github.com/NASA-PDS/pds4-information-model/blob/main/model-lddtool/src/test/resources/github795/00notes.txt
π₯ Environment Info
π Version of Software Used
main
as of todayπ©Ί Test Data / Additional context
model-lddtool/src/test/resources/github795/
onrchenatjpl-patch-1
branch.Data is more specifically here: https://github.com/NASA-PDS/pds4-information-model/tree/main/model-lddtool/src/test/resources/github795
π¦ Related requirements
π¦ #795
βοΈ Engineering Details
@jshughes it looks like you send over some schema/schematrons that include the necessary rules to check for these reference_types, but those same things are not included when I run
lddtool -p
. Not sure what is going on there.π Integration & Test
No response
The text was updated successfully, but these errors were encountered: