Print

Print


Thanks very much for reporting these Primer errors to us, Mark.  Your 
posting is very timely, as we are now in the process of correcting a 
number of errors in the Primer as well as aligning the documentation in 
the METS schema itself with that in the Primer.  I will add your 
corrections to our list of corrections in progress.

METS Documentation errors, whether in the Primer or Schema, can be 
posted to the METS list or to the METS Documentation Errors page on the 
METS Wiki: 
http://www.socialtext.net/mim-2006/index.cgi?mets_documentation_errors_list.

Thanks again for your report,

Rick Beaubien
Technical Chair, METS Editorial Board

Mark Jordan wrote:
> Hi,
>
> I couldn't find an email address for reporting errors in the METS Primer so I'm posting them here.
>
> In the Primer version 1.6 (http://www.loc.gov/standards/mets/METS%20Documentation%20final%20070930%20msw.pdf), the example for File content (FContent) element contains two errors. Here is the example found in the Primer (line numbers added):
>
>  1 <?xml version="1.0" encoding="UTF-8"?>
>  2 <mets:mets xmlns:mets="http://www/loc/gov/METS/”
>  3 xmlns:mods="http://www.loc.gov/mods/v3”
>  4 xmlns:xlink="http://www.w3.org/1999/xlink”
>  5 xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation="http://www.loc.gov/standards/mets/mets.xsd http://www/loc/gov/mods/v3/mods-3-1.xsd”
>  6 OBJID="ark:/13030/kt9s2009hz" LABEL="Martial Epigrams">
>  7 ...
>  8 <mets:fileSec>
>  9 <mets:fileGrp ID=”TIFF_GRP01” USE="MASTER IMAGE">
> 10 <mets:file ID="epi01m" SIZE=”65768” CREATED=”2006-04-11T07:35:22”
> 11 MIMETYPE="image/tiff" ADMID=”MIX_v1.0_TIFF_epio1m”>
> 12 <mets:FContent ID="eip01m.tiff" USE="Preservation Master"/>
> 13 <binData>[base 64 encoded data goes here]</binData>
> 14 </mets:FContent>
> 15 </mets:file>
> 16 </mets:fileGrp>
> 17 <mets:fileSec>
>
> The errors are:
>
> 1) FContent is not an empty element, i.e., it should not have a forward slash at the end of the tag (line 12)
> 2) binData needs to be namespaced, i.e., mets:binData (line 13)
>
> Here is a version of the example with the changes:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <mets:mets xmlns:mets="http://www/loc/gov/METS/”
> xmlns:mods="http://www.loc.gov/mods/v3”
> xmlns:xlink="http://www.w3.org/1999/xlink”
> xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation="http://www.loc.gov/standards/mets/mets.xsd http://www/loc/gov/mods/v3/mods-3-1.xsd”
> OBJID="ark:/13030/kt9s2009hz" LABEL="Martial Epigrams">
> ...
> <mets:fileSec>
> <mets:fileGrp ID=”TIFF_GRP01” USE="MASTER IMAGE">
> <mets:file ID="epi01m" SIZE=”65768” CREATED=”2006-04-11T07:35:22”
> MIMETYPE="image/tiff" ADMID=”MIX_v1.0_TIFF_epio1m”>
> <mets:FContent ID="eip01m.tiff" USE="Preservation Master">
> <mets:binData>[base 64 encoded data goes here]</mets:binData>
> </mets:FContent>
> </mets:file>
> </mets:fileGrp>
> <mets:fileSec>
>
> I couldn't get my files to validate against http://www.loc.gov/standards/mets/mets.xsd until I made these changes.
>
> Mark
>
>
> Mark Jordan
> Head of Library Systems
> W.A.C. Bennett Library, Simon Fraser University
> Burnaby, British Columbia, V5A 1S6, Canada
> Voice: 778.782.5753 / Fax: 778.782.3023
> [log in to unmask]
>   

-- 
Rick Beaubien
Software Engineer, Research and Development
U.C. Berkeley Library

Contact information:
505-466-6630

88 Herrada Rd
Santa Fe, NM 87508