-
Notifications
You must be signed in to change notification settings - Fork 22
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
Species Distribution - Validation Fails with multiple DistributionInfo elements #518
Comments
Dear @robblis We are checking the multiplicity of this elements in the TG and in the ETS developed and will get back to you with more feedback if a fix is needed on the validator. Kind regards. |
Dear @robblis We are modifying the multiplicity checks for this test. Whenever we have the fix ready we will get back to you. Kind regards. |
Dear @robblis We have published a fix for this issue on the staging instance. Could you please check it out and give us some feedback? Thank you |
Dear @carlospzurita, We've re-ran the tests against Species Distribution and we don't see the multiplicity error being reported. Thanks for getting this fixed, |
Hi Validator Team,
We are working on testing and fixing our Species Distribution returned XML.
We are getting the following Validation Errors due to more than one sd:distributionInfo element.
XML document 'service.xml', SpeciesDistributionUnit 'SpeciesDistributionUnitS.3001': The multiplicity of sd:countingMethod shall be 1. Found: '2'..
XML document 'service.xml', SpeciesDistributionUnit 'SpeciesDistributionUnitS.3001': The multiplicity of GeneralCountingUnitValue or Article17CountingUnitValue shall be 1. Found: '2'.
XML document 'service.xml', SpeciesDistributionUnit 'SpeciesDistributionUnitS.3001': The multiplicity of OccurrenceCategoryValue shall be 1. Found: '2'.
XML document 'service.xml', SpeciesDistributionUnit 'SpeciesDistributionUnitS.3001': The multiplicity of PopulationTypeValue shall be 1. Found: '2'.
XML document 'service.xml', SpeciesDistributionUnit 'SpeciesDistributionUnitS.3001': The multiplicity of ResidencyStatusValue shall be 1. Found: '2'.
In the schema, the sd:distributionInfo element has a 0-many cardinality.
We're unsure why the validator is throwing these errors. We've attached the Species Distribution XML.
We also are seeing the same issue with Geology when testing ge:Fold.
XML document 'service.xml', Fold 'geFold.3': The multiplicity of ThematicClassValue shall be 1. Found: '2'.
XML document 'service.xml', Fold 'geFold.4': The multiplicity of ThematicClassValue shall be 1. Found: '2'.
In the schema, the ge:themeClass has a 0-many cardinality. We've attached the GE Fold XML.
Can someone assist?
Thanks,
Robert
SpeciesDistributionUnit.zip
Geology_Fold.zip
The text was updated successfully, but these errors were encountered: