I have a Windows Script Host file (written in JSsript) that uses the
built-in MSXML processor to check for validation against the ead.dtd
referenced in the XML file. It processes all .xml files that are
located in the same folder where the script resides. It pops up a
window telling you which files don't validate and the reason and it also
create a file called "validationReport.txt" (or it pops up a box that
says "No errors" if everything validates).
If you are interested, let me know.
Mark R. Carlson
University of Washington Libraries
On 10/21/2010 11:35 AM, Ethan Gruber wrote:
> Has anyone on the list ever written or used XSLT stylesheets that can be
> run against EAD guides to list errors or warnings that the guide fails
> to meet certain criteria (invalid content, usage of elements/attributes
> fails to meet best practices)?
> I'm attempting to process some EAD guides against dtd2schema.xsl and
> post the result to eXist, but if a file doesn't validate, eXist will not
> accept it. I'd like to be able to preprocess the file and output
> human-readable error reports before attempting to post it to eXist.
> Ethan Gruber