-
Notifications
You must be signed in to change notification settings - Fork 2
Validation
marly edited this page Sep 13, 2010
·
4 revisions
Given a PREMIS or PiM document via an input method, return a list of errors or a confirmation message if the document conforms. The main validation logic will be declared in a Schematron schema.
- Basic XML/Schema validation (PiM and PREMIS)
- check for well-formed document, if errors then return specifics
- validate against XML Schema, if errors then return specifics
- Best Practice / METS Profile validation (PiM only)
- validate against Schematron schemas
- return minimally a list of errors in output methods outlined below or confirmation of conformance
- Optional/Experimental: suggestions for each error; BP/METS Profile citations
- given a HTTP URI of a document, validate it.
- upload document via a html form
- input a document directly via a html form
- Web Service based
- via POST
- via GET with the URI of a document passed as a query parameter.
- investigate what w3 validator does.
- HTML
- XML
- JSON
(all but html will be directly useful to the web service, indirectly AJAX interfaces can use the rest)