tcatapano / ead_archivespace_import Goto Github PK
View Code? Open in Web Editor NEWInformation and resources related to import of EAD 2002 documents into ArchivesSpace
Information and resources related to import of EAD 2002 documents into ArchivesSpace
C1
I’m not sure this assertion is working. It doesn’t seem to catch the lack of a level attribute in the following example:
<c01 id="aspace_0545ccfc68ea0a1369838eeb8475d621">
<did>
<unittitle>Matted 20 x 24 inch color prints</unittitle>
<physdesc altrender="whole"><extent altrender="materialtype spaceoccupied">5
prints</extent><physfacet>In 24 x 32 inch hinged window mats</physfacet></physdesc>
<container id="aspace_45addd2d90d9807e955ecfc11aab45c6" label="Mixed Materials" type="box"
>6</container>
</did>
</c01>
Mark’s schematron seems to address both issues above: https://github.com/fordmadox/schematrons/blob/master/ArchivesSpace-EAD-validator.sch#L78
R.1.5.1
The first R.1.5.1. assertion seems to raise validation errors when it shouldn’t:
https://github.com/tcatapano/EAD_Archivespace_Import/blob/master/archivesSpace_consolidated.sch#L17
For example, the schematron says the collection-level chunk below is invalid because the second <physdesc>
lacks a child extent even though the first <physdesc>
does include an . Your rule seems to require that every <physdesc>
has a child <extent>
when only one needs to exist.
<physdesc altrender="whole">
<extent altrender="materialtype spaceoccupied">7 Linear Feet</extent>
</physdesc>
<unitdate normal="1990/2003" type="inclusive">1990s, 2003</unitdate>
<langmaterial id="aspace_423d842c7b0c0fc50e086c3b2c13e7b2">Materials are in English</langmaterial>
<physdesc id="aspace_5a8cc9995c23c3c46a441389ec7906b2">77 color photographs; 1 audio cassette</physdesc>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.