Replies: 2 comments
-
@jomtov great question. Can you give more links and details and a simple example of how this would work on the command line or in code? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @rufuspollock,
I am not really a developer myself, so cannot give you code or command line details. But I have written some Schematron schemas, using phases also. Attaching a schema with examples, used for validation of OAI-PMH METS-feeds for output from Swedish Digital Scientific Publications Repository – DIVA.
(First validate in Schematron phase “Diagnosis”, then choose next validation phase after result from there. Please note that the schema and examples are from 2016 and should be updated. Also, the Schematron schema is designed specifically to validate things that are NOT validated by the default ordinary XML Schema, thus leaving out e.g. the systematic ID-errors in these feeds)
Anyway, there are Schematron resources on GitHub too, such as here:
https://github.com/Schematron/schematron
Best,
@jomtov / [email protected]
Från: Rufus Pollock <[email protected]>
Skickat: den 27 juli 2020 14:54
Till: frictionlessdata/forum <[email protected]>
Kopia: Joakim Philipson <[email protected]>; Mention <[email protected]>
Ämne: Re: [frictionlessdata/forum] XML with XML Schema and Schematron as format options in Goodtables wished for (#64)
@jomtov<https://github.com/jomtov> great question. Can you give more links and details and a simple example of how this would work on the command line or in code?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/frictionlessdata/forum/issues/64#issuecomment-664377932>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFTWV3CMC3UKJFLEXUQSWJLR5V2GZANCNFSM4O2UZNJQ>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Motivation: Although .JSON can reasonably easily converted into XML, JSON schema is not as developed and advanced yet as XML Schema and in particular Schematron (an ISO-standard), which can be more specific and tailormade error-messages, that are easier understandable to humans.
Beta Was this translation helpful? Give feedback.
All reactions