Skip to content

mdfref example in overview is invalid? #47

Description

@kieranjol

Hi, not sure if this is the correct place to put this, but I noticed that the overview: https://www.loc.gov/standards/mets/METSOverview.v2.html#descMD
possible contains an invalid example for <mdref>
The XSD and METS Primer both say that <mdref> is an empty element, and the xlink attribute should be used to store a value.
The overview has this example:

<dmdSec ID="dmd001">
          <mdRef LOCTYPE="URN" MIMETYPE="application/xml" MDTYPE="EAD" 
          LABEL="Berol Collection Finding Aid">urn:x-nyu:fales1735</mdRef>
      </dmdSec>

:
which has urn:x-nyu:fales1735 as a value

This is the output of the validation

xml val -e --xsd mets.xsd mets1.xml
mets1.xml:23.19: Element '{http://www.loc.gov/METS/}mdRef': Character content is not allowed, because the content type is empty.
mets1.xml - invalid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions