data4development / IATI-data-validator

GNU Affero General Public License v3.0
5 stars 6 forks source link

DTD #37

Closed rolfkleef closed 4 years ago

rolfkleef commented 4 years ago

I'm validating my files before uploading. Can you please provide and updated DTD?,Reporter,: Kristian

submitted via feedback button USER-22

samuele-mattiuzzo commented 4 years ago

Hi Kristian, thanks for the feedback. This isn't really a question for the validator as much as it is for us in the Tech Team as it's Standard-related. The IATI standard comes with a Schema definition (for Activities and Organisations) and we do not have a DTD, since it's an obsolete way of doing what the Schema does. If you need further assistance please get in touch at support@iatistandard.org

Thank you!

Asken commented 4 years ago

Sorry, you are correct. I'm validating against the schema. When I validate using http://reference.iatistandard.org/203/schema/downloads/iati-activities-schema.xsd I get non of the errors in https://test-validator.iatistandard.org/view/dqf/files/6b690656a45504d9c5461d136807280d.

If the schema had enumerations it would be great.

samuele-mattiuzzo commented 4 years ago

This test version of the validator is checking both Schema and IATI Ruleset so that's why you have a discrepancy there! Let's follow this one up via ZenDesk so that we can provide you with the guidance needed to navigate through the IATI ruleset!

Asken commented 4 years ago

I know about the rule set but I think you should exand the xsd a bit further. You could for instance add code lists.

Kristian

Den ons 13 nov. 2019 11:49Samuele Mattiuzzo notifications@github.com skrev:

This test version of the validator is checking both Schema and IATI Ruleset http://reference.iatistandard.org/203/rulesets/standard-ruleset/ so that's why you have a discrepancy there! Let's follow this one up via ZenDesk so that we can provide you with the guidance needed to navigate through the IATI ruleset!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/data4development/IATI-data-validator/issues/37?email_source=notifications&email_token=AAMEG6LLDFXHRWLDERY726LQTPLSTA5CNFSM4JMDTB2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED5W3BI#issuecomment-553348485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMEG6LCFNYVBXX5HJKGC2TQTPLSTANCNFSM4JMDTB2A .

Asken commented 4 years ago

Actually, I'll wait until the development documentation is in place so I can run the validator myself. I see you're using docker and xslt so that should not be a problem.

samuele-mattiuzzo commented 4 years ago

@Asken ok fantastic! What you're suggesting/asking is something more related to the standard than it is to the Validator (as the validator only applies what's in the standard, schema and ruleset)

If you do have suggestions around the standard https://discuss.iatistandard.org/ is the place, or for any question zendesk and support@iatistandard.org

will now close this issue! Thanks again for getting in touch and for testing the tool!

rolfkleef commented 4 years ago

Hi @Asken, a quick comment after closing: I agree that there is room to further develop the IATI schema to include some of the tests done here. (However, it won't automatically generate "human readable feedback".)

The validator engine does a couple of tasks, including schema validation, some xml error recovery, applying the business rules, and generating various output formats.

You could try out the IATI-Rulesets XSLT as stand-alone by applying the rules/iati.xslt stylesheet: it will take an IATI source file and add feedback messages embedded in a separate namespace.

Happy to talk more about developer docs and integration!