-
Notifications
You must be signed in to change notification settings - Fork 24
first attempt at providing an XMLSchema for dfg-viewer.de namespace #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
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:owner*, add documentation
|
Thanks @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). |
| <xs:element name="license" minOccurs="0" default="reserved"> | ||
| <xs:simpleType> | ||
| <xs:restriction base="xs:string"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or do we have to include other values (like CNE or NoC) here, too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There has been an informal definition of an XML namespace
http://dfg-viewer.dein 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 …fixmes andreferencesin the XSD). I had to rework from the implementations and example XMLs I could find. Perhaps I missed or misinterpreted some of them?dv:rightsonly inmets:amdSec/mets:rightsMD,dv:linksonly inmets:amdSec/mets:digiprovMD,mets:amdSec/mets:techMD,dv:pageonly in SRU responses).I have added the XSD under
Resources/Public/Xsd/dfg-viewer.xsd– which could be used as aschemaLocationfordvXMLs in the future. I also added some example XMLs as test cases, which should probably go somewhere else.@sebastian-meyer @Erikmitk