<tr>
<td>itemnum</td>
<td><ul><li>The field itemnum MUST be mapped </li>
- <li>The correspounding subfield MUST be in with -1 (ignore) tab</li></ul></td>
+ <li>The corresponding subfield MUST be in with -1 (ignore) tab</li></ul></td>
</tr>
<!-- TMPL_ELSE -->
<tr>
<td>itemtype NOT mapped</td>
<td>the biblioitems.itemtype field MUST :<br />
<ul><li>be mapped to a MARC subfield, </li>
- <li>the correspounding subfield MUST have authorised_value=itemtype</li></ul></td>
+ <li>the corresponding subfield MUST have authorised_value=itemtype</li></ul></td>
</tr>
<!-- TMPL_ELSE -->
<tr>
<td>homebranch NOT mapped</td>
<td>the items.homebranch field MUST :<br />
<ul><li>be mapped to a MARC subfield,</li>
- <li>the correspounding subfield MUST have authorised value=branches</li></ul></td>
+ <li>the corresponding subfield MUST have authorised value=branches</li></ul></td>
</tr>
<!-- TMPL_ELSE -->
<tr>
<td>holdingbranch NOT mapped</td>
<td>the items.holdingbranch field MUST :<br />
<ul><li>be mapped to a MARC subfield, </li>
- <li>the correspounding subfield MUST have authorised value=branches</li></ul></td>
+ <li>the corresponding subfield MUST have authorised value=branches</li></ul></td>
</tr>
<!-- TMPL_ELSE -->
<tr>
</tr>
<!-- /TMPL_IF -->
<!-- -->
+<!-- TMPL_IF name="itemtypes_empty" -->
+ <tr>
+ <td>item type not defined</td>
+ <td>at least 1 item type must be defined</td>
+ </tr>
+<!-- TMPL_ELSE -->
+ <tr>
+ <td>OK</td>
+ <td>at least 1 item type defined</td>
+ </tr>
+<!-- /TMPL_IF -->
+<!-- -->
+<!-- TMPL_IF name="branches_empty" -->
+ <tr>
+ <td>branch not defined</td>
+ <td>at least 1 branch must be defined</td>
+ </tr>
+<!-- TMPL_ELSE -->
+ <tr>
+ <td>OK</td>
+ <td>at least 1 branch defined</td>
+ </tr>
+<!-- /TMPL_IF -->
+<!-- -->
<!-- TMPL_IF name="biblionumber" -->
<tr>
<td>biblio and biblionumber</td>
<td>there is a null value in a frameworkcode. Check the following tables<br />
<li>select * from marc_subfield_structure where frameworkcode is NULL</li>
<li>select * from marc_tag_structure where frameworkcode is NULL</li>
- <li>select * from marc_biblio where frameworkcode is NULL</li></td>
+ </td>
</tr>
<!-- TMPL_ELSE -->
<tr>
</tr>
<!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="inconsistent_tabs" -->
+ <tr>
+ <td style="vertical-align:top;">subfields not in same tabs</td>
+ <td>Not all subfields for the following tags are in the same tab (or marked 'ignored').
+ <table>
+ <tr>
+ <th>Code</th>
+ <th>Description</th>
+ <th>Tag</th>
+ <th>Tabs in use</th>
+ </tr>
+ <!-- TMPL_LOOP NAME="tab_info" -->
+ <tr>
+ <td><!-- TMPL_VAR NAME="frameworkcode" --></td>
+ <!-- TMPL_IF NAME="frameworkcode" -->
+ <td><!-- TMPL_VAR NAME="frameworktext" --></td>
+ <!-- TMPL_ELSE -->
+ <td>Default framework</td>
+ <!-- /TMPL_IF -->
+ <td><!-- TMPL_VAR NAME="tagfield" --></td>
+ <td><!-- TMPL_VAR NAME="tabs" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ </td>
+ </tr>
+ <!-- TMPL_ELSE -->
+ <tr>
+ <td>OK</td>
+ <td>all subfields for each tag are in the same tab (or ignored)</td>
+ </tr>
+ <!-- /TMPL_IF -->
+
+ <!-- TMPL_IF NAME="invalid_authtypecodes" -->
+ <tr>
+ <td style="vertical-align:top;">invalid authority types</td>
+ <td>Not all authority types referred to by the frameworks are defined.
+ <table>
+ <tr>
+ <th>Framework code</th>
+ <th>Framework description</th>
+ <th>Tag</th>
+ <th>Subfield</th>
+ <th>Invalid authority type</th>
+ </tr>
+ <!-- TMPL_LOOP NAME="authtypecode_info" -->
+ <tr>
+ <td><!-- TMPL_VAR NAME="frameworkcode" --></td>
+ <!-- TMPL_IF NAME="frameworkcode" -->
+ <td><!-- TMPL_VAR NAME="frameworktext" --></td>
+ <!-- TMPL_ELSE -->
+ <td>Default framework</td>
+ <!-- /TMPL_IF -->
+ <td><!-- TMPL_VAR NAME="tagfield" --></td>
+ <td><!-- TMPL_VAR NAME="tagsubfield" --></td>
+ <td><!-- TMPL_VAR NAME="authtypecode" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ </td>
+ </tr>
+ <!-- TMPL_ELSE -->
+ <tr>
+ <td>OK</td>
+ <td>all authority types used in the frameworks are defined</td>
+ </tr>
+ <!-- /TMPL_IF -->
<!-- -->
<!-- TMPL_IF name="total" -->
<tr>