DM2E/dm2e-direct — pull request #6 by kba (2014-11-15 15:36:01+00:00)
Title: Check dataset

@kaiec @Dommii

I put in a method call to a function that resolves the input string to a file/directory/oai-pmh address, retrieves the first file (for dirs/oai-pmh), does XSLT transformation if necessary, loads the resulting model, retrieves the first CHO, parses the dataset from that URI and if that dataset doesn't match the dataset defined by the ingestion configuration, throws a ValidationError.