SAA-SDT / eas-schemas

Where TS-EAS manages EAD, EAC-CPF, and any other schemas published by the subcommittee.
0 stars 0 forks source link

Add <findAidDesc> as replacement of <filedesc> #27

Closed kerstarno closed 8 months ago

kerstarno commented 1 year ago

Creator of issue

  1. Kerstin Arnold
  2. EAD team lead, TS-EAS
  3. @kerstarno
  4. kerstin.arnold@archivesportaleurope.net

The issue relates to

Wanted change/feature

Update (4 January 2024): Following the EAD team's meeting on 15 December and representing the latest status of decisions, the details of this issue have been updated. The current development version of the schema might still represent what was outlined initially, i.e. further changes might be necessary and require another round of testing.

Note for working on and testing this issue: When the schema changes are done in development branch, please mark this by ticking the box on the higher level (printed in bold); once the changes have been tested successfully please mark this by ticking the box on the lower levels.

kerstarno commented 1 year ago

For reference, this is how a transformation from EAD 2002 to EAD 4.0 with regard to <findAidDesc> could look like (elements with * are mandatory, example encoding updated on 4 January 2024):

EAD 2002

<ead>
  <eadheader>*
    <eadid/>*
    <filedesc>*
      <titlestmt>*
        <titleproper/>*
        <subtitle/>
        <author/>
        <sponsor/>
      </titlestmt>
      <editionstmt>
        <edition/>
        <p/>
      </editionstmt>
      <publicationstmt>
        <publisher/>
        <date/>
        <address/>
        <num/>
        <p/>
      </publicationstmt>
      <seriesstmt>
        <titleproper/>
        <num/>
        <p/>
      </seriesstmt>
      <notestmt>
        <note>
          <address/>
          <blockquote/>
          <chronlist/>
          <list/>
          <note/>
          <p/>
          <table/>
        </note>
      </notestmt>
    </filedesc>
  </eadheader>
  <frontmatter>
    <titlepage>
      <address/>
      <blockquote/>
      <chronlist/>
      <list/>
      <note/>
      <p/>
      <table/>
      <author/>
      <date/>
      <edition/>
      <num/>
      <publisher/>
      <bibseries/>
      <sponsor/>
      <titleproper/>
      <subtitle/>
    </titlepage>
    <div>
      <address/>
      <head/>
      <blockquote/>  
      <chronlist/>
      <list/>
      <note/>
      <p/>
      <table/>
      <div/>
    </div>
  </frontmatter>    
  </archdesc>*
</ead>

EAD 4.0

<ead>
  <control maintenanceStatus*=”...”>*
    <recordId/>*
    <maintenanceAgency/>*
    <maintenanceHistory/>*
  </control>  
  <findAidDesc href=”...” etc.>
    <title/>
    <title localType=”subtitle”/>
    <agent>
        <agentName/>
        <agentRole>author</agentRole>
    </agent>
    <agent>
        <agentName/>
        <agentRole>sponsor</agentRole>
    </agent>
    <!-- <editionstmt><edition> and <editionstmt><p> would be converted to <eventDescription> -->
    <agent>
        <agentName/>
        <agentRole>publisher</agentRole>
    </agent>
    <date/>
    <place>
      <address/>
    </place>
    <title localType=”publicationNumber”/>
    <formattingExtension [linking the element to the XHTML namespace]>
      <p/>
    </formattingExtension>
    <title localType=”serialTitle”/>
    <title localType=”serialNumber”/>
    <formattingExtension [linking the element to the XHTML namespace]>
      <p/>
    </formattingExtension>
    <place>
      <address/>
    </place>
    <formattingExtension [linking the element to the XHTML namespace]>
      <blockquote/>
      <ol/>
      <ul/>
      <div/> 
      <p/>
      <table/>
    </formattingExtension>
    <place>
      <address/>
    </place>
    <formattingExtension [linking the element to the XHTML namespace]>
      <blockquote/>
      <ol/>
      <ul/>
      <div/>
      <p/>
      <table/>
    </formattingExtension>
    <agent>
        <agentName/>
        <agentRole>author</agentRole>
    </agent>
    <date/>
    <!-- <frontmatter><edition> would be converted to <eventDescription> -->
    <title localType=”number”/>
    <agent>
        <agentName/>
        <agentRole>publisher</agentRole>
    </agent>
    <!-- <bibseries> was deprecated in EAD3 and will be removed in EAD 4.0 -->
    <agent>
        <agentName/>
        <agentRole>sponsor</agentRole>
    </agent>
    <title/>
    <title localType=”subtitle”/>
    <place>
      <address/>
    </place>
    <formattingExtension [linking the element to the XHTML namespace]>
      <h1/>
      <blockquote/>
      <ol/>
      <ul/>
      <div/>
      <p/>
      <table/>
      <div/>
    </formattingExtension>
  </findAidDesc>
  <archdesc/>*
</ead>
kerstarno commented 1 year ago

For reference, this is how a transformation from EAD3 to EAD 4.0 with regard to <findAidDesc> could look like (elements with * are mandatory, example encoding updated on 4 January 2024):

EAD3

<ead>
  <control>*
    <maintenanceStatus/>*
    <recordid/>*
    <maintenanceagency/>*
    <maintenancehistory/>*
    <filedesc>*
      <titlestmt>*
        <titleproper/>*
        <subtitle/>
        <author/>
        <sponsor/>
      </titlestmt>
      <editionstmt>
        <edition/>
        <p/>
      </editionstmt>
      <publicationstmt>
        <publisher/>
        <date/>
        <address/>
        <num/>
        <p/>
      </publicationstmt>
      <seriesstmt>
        <titleproper/>
        <num/>
        <p/>
      </seriesstmt>
      <notestmt>
        <controlnote>
          <blockquote/>
          <chronlist/>
          <list/>
          <p/>
          <table/>
        </controlnote>
      </notestmt>
    </filedesc>
  </control>  
  <frontmatter> (deprecated) 
    <titlepage> (deprecated) 
      <blockquote/>
      <chronlist/>
      <list/>
      <p/>
      <table/>
      <author/>
      <date/>
      <edition/>
      <num/>
      <publisher/>
      <bibseries/> (deprecated) 
      <sponsor/>
      <titleproper/>
      <subtitle/>
    </titlepage>
    <div> (deprecated) 
      <head/>
      <blockquote/>  
      <chronlist/>
      <list/>
      <p/>
      <table/>
      <div/>
    </div>
  </frontmatter> 
  </archdesc>*
</ead>

EAD 4.0

<ead>
  <control maintenanceStatus*=”...”>*
    <recordId/>*
    <maintenanceAgency/>*
    <maintenanceHistory/>*
  </control>  
  <findAidDesc href=”...” etc.>
    <title/>
    <title localType=”subtitle”/>
    <agent>
      <agentName/>
      <agentRole>author</agentRole>
    </agent>
    <agent>
      <agentName/>
      <agentRole>sponsor</agentRole>
    </agent>
    <!-- <editionstmt><edition> and <editionstmt><p> would be converted to <eventDescription> -->
    <agent agentRole=”publisher”/>
    <date/>
    <place>
      <address/>
    </place>
    <title localType=”publicationNumber”/>
    <formattingExtension [linking the element to the XHTML namespace]>
      <p/>
    </formattingExtension>
    <title localType=”serialTitle”/>
    <title localType=”serialNumber”/>
    <formattingExtension [linking the element to the XHTML namespace]>
      <p/>
    </formattingExtension>
    <formattingExtension [linking the element to the XHTML namespace]>
      <blockquote/>
      <ol/>
      <ul/>
      <p/>
      <table/>
    </formattingExtension>
    <formattingExtension [linking the element to the XHTML namespace]>
      <blockquote/>
      <ol/>
      <ul/>
      <div/>
      <p/>
      <table/>
    </formattingExtension>
    <agent>
      <agentName/>
      <agentRole>author</agentRole>
    </agent>
    <date/>
    <!-- <frontmatter><edition> would be converted to <eventDescription> -->
    <title localType=”number”/>
    <agent>
      <agentName/>
      <agentRole>publisher</agentRole>
    </agent>
    <!-- <bibseries> was deprecated in EAD3 and will be removed in EAD 4.0 -->
    <agent>
      <agentName/>
      <agentRole>sponsor</agentRole>
    </agent>
    <title/>
    <title localType=”subtitle”/>
    <formattingExtension [linking the element to the XHTML namespace]>
      <h1/>
      <blockquote/>
      <ol/>
      <ul/>
      <p/>
      <table/>
      <div/>
    </formattingExtension>
  </findAidDesc>
  <archdesc/>*
</ead>
kerstarno commented 9 months ago

@fordmadox - Not sure, if the editing of existing comments results in a notification email, so adding a comment here as well to note that this issue (description and encoding examples) has been updated re the inclusion of <formattingExtension> instead of <div>.

fordmadox commented 8 months ago

What about title? Is that the only element from controlAccess that isn't being redefined or removed?

kerstarno commented 8 months ago

Yes, indeed, <title> is kept, though only used in this context here and not anymore in other contexts where it was used together with the other access elements.

There's still be a few changes to <title> though compared to how it is defined on EAD3. All of these should already be covered by other issues anyway, so the following list is mainly for completeness:

The sub-element <part> is adapted to the way it's defined in EAC-CPF 2.0.

kerstarno commented 8 months ago

Tested with the XSD and the RNG. There are a few changes still required:

I have created a pull request for these changes (#78). Once this pull request has been merged, this issue will need retesting.

kerstarno commented 8 months ago

Re-tested with the XSD and the RNG and can confirm that the pending aspects mentioned above have now been resolved.