Hi Arian --
Based on your description of your need -- a "...tool created to validate EAD xml file against validation rules stated in tag library ... presence of elements, name conventions etc." -- I think that any of the methods Ruth or I mentioned should work for you. You can use any of those methods to validate an EAD3 file against the EAD3 schema, which embodies the rules laid out in the tag library. You can download the EAD3 schema here https://github.com/SAA-SDT/EAD3/releases/tag/v1.0.0. The schema is available in both rng and xsd.
If there are additional content or structural requirements for your specific case, you can modify the schema to check for those as well.
Hope this helps
Michele
-----Original Message-----
From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf Of Arian Rajh
Sent: Wednesday, September 28, 2016 2:39 AM
To: [log in to unmask]
Subject: Re: EAD3 validator
Dear Ruth and Michele,
Thank you very much for your answers. I meant to ask about IT tool created to validate EAD xml file against validation rules stated in tag library. For example, for structured set of records with xml backbone for medicinal products approval, there are several IT tools-validators that validate submissions against validation rules such are presence of elements, name conventions etc. It is a mix between technical and content validation.(Example from my work domain, I work in Croatian version of Food and drugs administration as their archivist). Another example from my work environment - records digitised for us by a third party come with xml files used for transfer of metadata into attributes of records after ingest. We are using FileNet based EDRM system. If xml files are not valid (eg. wrong elements according to xml schema), validation function in ingest process moves packages into SIPerror folder for correction.
So, there are no validator tool similar to my examples. I'm working on computer generated EAD description from database of my institution (sort of archival management system) and I created for developers of that database and application example of EAD xml file with mapping of elements and database attributes. (Well...it is almost done). I followed EAD3 tag library (for structure and parent-child element related rules).
Thank you very much for a good advice - I'll use EAD Round-table
guidelines for additional check of validity before development of EAD creation functionality (https://github.com/saa-ead-roundtable/ead3-toolkit#validating-your-ead-file).
Kind regards,
Arian
|