Open bertsky opened 2 years ago
We should probably also formalize the METS and MODS Anwendungsprofile, including the Strukturdatenset BTW.
One more thing: I noticed some obvious inconsistencies in the dv:page
documentation part of the SRU/ALTO Anwendungsprofil:
@url
on the top-level dv:page
in the example, but not such entry in the documentationdv:page/dv:fulltexthit
is documented as not repeatable, but in the implementation it clearly isdv:page/dv:fulltexthit/dv:page
is documented as not repeatable, but in the example, it clearly isThanks @bertsky. We will most likely pick up this issue with DFG-Viewer 3D second phase. It can serve as a base for the METS validator (AP 1-3 at https://intranet.slub-dresden.de/pages/viewpage.action?pageId=488903266).
There has been an informal definition of an XML namespace
http://dfg-viewer.de
in various parts of Kitodo and DFG Viewer for some time. Without a formalization, there is no validation, and re-implementation is difficult. I tried to fill the gap here, but …fixme
s andreferences
in the XSD). I had to rework from the implementations and example XMLs I could find. Perhaps I missed or misinterpreted some of them?dv:rights
only inmets:amdSec/mets:rightsMD
,dv:links
only inmets:amdSec/mets:digiprovMD
,mets:amdSec/mets:techMD
,dv:page
only in SRU responses).I have added the XSD under
Resources/Public/Xsd/dfg-viewer.xsd
– which could be used as aschemaLocation
fordv
XMLs in the future. I also added some example XMLs as test cases, which should probably go somewhere else.@sebastian-meyer @Erikmitk