Closed jukervin closed 8 years ago
This seems very sensible to me!
Having a generic Processing and an ID attribute for a processingStep would seem to me to also satisfy much of what has been requested in #35. What it is still missing though is a way to track, which exact elements have been produced or altered by a particular processingStep.
To track the changes of element will be imposisble to cover within an XML file, as XML is hierarchical structured and the change by (post-)processing actions will also cause change of hiararchy, which cannot be recorded. Also elements might be removed which then cannot be referenced any more. In such case it makes much more sense to clone files, just add the history recordings to know which file has which status and to compare. Storage managements systems do the rest to prevent full redundant data holding by just saving the changes and keep ability to roll back to former version.
Continued in #39.
The current process recording elements are fixed with OCR and on the other hand bit redundand. I think it would make sense to change OCRProcessing to Processing and the preProcessingStep,ocrProcessingStep, postProcessingStep to generic processingStep with processingStepType element to record the type of processing performed.
Currently:
Suggestion
Schema changes: