-
Notifications
You must be signed in to change notification settings - Fork 6
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
CCB-256: Need method for providing permissible value definitions for external namespaces in Ingest_LDD #130
Comments
…paces in Ingest_LDD Enable LDDTool to create the Schematron rules needed to enforce the permissible value list as well as documenting the definitions of those values. Resolves #130 Refs CCB-256
I followed SPmockup.txt in pds-jira...CCB-256, which constrains the values of local_reference_type to spectral_characteristics_to_array_object and something else. However, when I run lddtool -plM on the attached input file, the resulting .sch has nothing about local_reference_type. It is easily possible that I've done something wrong, but i don't know what. % lddtool -plM ccb256lddtoolinput.xml
|
The attached file doesn't validate. It's the same attachment at before with something else cleaned up. I guess the fix is to add DD_Associate_External_Class after DD_Association and DD_Association_External Or maybe nobody validates such files, i.e. they just run lddtool on them without first validating the lddtool input files |
The Common (pds) schema is missing <DD_Associate_External_Class> in the <DD_Class> definition. Resolves #130 Refs CCB-256
The attached file ccb256lddtoolinput.xml now validates, which is good. The .xsd that lddtool creates from it looks good. However, the .sch has no restrictions on the element with the external namespace. It is very possible that ccb256lddtoolinput.xml is incorrect. But what should it look like? |
…matron file. Bugfix - The new permissible values are not being written to the Schematron file. Also cleaned up Directory Stack output to allow full input file name. Resolves #130 Refs CCB-256
I still can't get this to work. The Archive.zip I attached earlier has a DD_Associate_External_Class that includes DD_Permissible_Values, but those values are not showing up in the .sch that lddtool outputs. Can you tell me what's wrong with the input file ccb256lddtoolinput.xml or give me an example that works? Thanks. |
grr, the stuff that looks like code in the middle of the last comment is just straight text that github is formatting. |
…values in external namespaces LDDTool writing wrong type of Rule to validate attribute permissible values in external namespaces. Changed rule type from "EVERY" to "RAW. Also fixed Docbook formatting bug. Resolves #130 Refs CCB-256
https://pds-jira.jpl.nasa.gov/browse/CCB-256
CCB-256.pdf
The text was updated successfully, but these errors were encountered: