Default LOD "record group" does not use recommended level attribute of recordgrp in EAD exports
|Target version:||Release 2.5.0|
|Google Code Legacy ID:||Tested version:||2.4, 2.5|
- Create a new description, and give it a level of description of "Record group" (a default level term included in new AtoM installations)
- Add a lower-level record, also with Record group for LOD. Save.
- Export the record as EAD 2002 XML
At both the parent level (using the archdesc element) and child levels (using the c element), the level attribute in the EAD XML export is given as in the following example:
<archdesc otherlevel="record group" level="otherlevel" relatedencoding="ISAD(G)v2">
EAD 2002 defines a recommended controlled vocabulary of terms to be used. otherlevel should only be used when there is no appropriate match. When "Record group" is used as a level in AtoM, it should export using level="recordgrp" in either archdesc or c elements, as appropriate.
Level in the general attributes: https://www.loc.gov/ead/tglib/att_gen.html
LEVEL -- The hierarchical level of the materials being described by the element. This attribute is available in <archdesc>, where the highest level of material represented in the finding aid must be declared (e.g., collection, fonds, record group), and in <c> and <c01-12> (e.g., subgroup, series, file). If none of the values in the semi-closed list are appropriate, the value "otherlevel" may be chosen and the term specified in the OTHERLEVEL attribute. Values are:
Note that we would also need to double-check that importing EAD XML descriptions with @level="recordgrp" will also properly map to the Record group default LOD term in AtoM.
#1 Updated by Mike Cantelon 7 months ago
I don't get "Record group" as a level of description when I create a new installation with the qa/2.5.x branch. Record group doesn't seem to exist, as installed data, in our codebase.
ubuntu@ubuntu-xenial:/usr/share/nginx/atom$ grep -r -i "Record Group" * lib/task/pdf/ead-pdf-inventory-summary.xsl: <!--Creates a submenu for collections, record groups and series and fonds--> lib/task/pdf/ead-pdf-inventory-summary.xsl: <!--Creates a submenu for collections, record groups and series and fonds--> lib/task/pdf/ead-pdf-inventory-summary.xsl: <xsl:when test="../@level='recordgrp'">Record group <xsl:value-of select="ead:unitid"/>: </xsl:when> lib/task/pdf/ead-pdf-full-details.xsl: <xsl:when test="../@level='recordgrp'">Record group: </xsl:when> plugins/sfEadPlugin/lib/sfEadPlugin.class.php: 'recordgrp' => array('record-group', 'record group', 'recordgroup'),
#2 Updated by Dan Gillean 7 months ago
Oh wow, you're right! No wonder. I did a purge, and the only terms added by default were:
Mike - if we wanted to, would it be difficult to add this as a default LOD in the future, so we can address this issue?
#11 Updated by Dan Gillean 5 months ago
- Status changed from QA/Review to Feedback
- Assignee changed from Dan Gillean to Mike Cantelon
Changes in the EAD export look good - however, I've realized that we didn't update the import code to understand this level and connect it to the new default term, so on re-import, the level comes in as "recordgrp" rather than linking to the term. If it's not going to be a huge amount of time to address this, can you look into this? Thanks!