Git Product home page Git Product logo

ead_archivespace_import's People

Contributors

tcatapano avatar

Watchers

 avatar  avatar

Forkers

meau

ead_archivespace_import's Issues

C1. assertion not working.

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

The first R.1.5.1. assertion seems to raise validation errors when it shouldn’t:

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>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.