Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Adding root element to dcterms.xsd #109

@milvld

Description

@milvld

Hi

I'm trying to use DCTERMS in a project where I need a root element, since I am using XML. Whatever element I try to use, however, the dcterms.xsd fails with 'No matching global declaration available for the validation root.'. You can find my XML example below.

Could you provide some guidance as to what I'm missing here?

Thanks in advance

XML example

<?xml version='1.0' encoding='UTF-8'?>
<metadata xmlns:dcterms="http://purl.org/dc/terms/" xmlns:edtf="http://id.loc.gov/datatypes/edtf/" xmlns:xs="http://www.w3.org/2001/XMLSchema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/">

  <dcterms:title>Le Chat Blanc: 02/08/2022</dcterms:title>

  <dcterms:description>Journal Indépendant: Le Chat Blanc: 02/08/2022</dcterms:description>

  <!-- linking id between dc and premis -->
  <!-- matches the identifier of the premis:object defined in the preservation/premis.xml -->
  <dcterms:identifier>uuid-e6a138e5-a0fc-41d3-a912-9491a3502f57</dcterms:identifier>

  <dcterms:created xsi:type="edtf:EDTF-level2">XXXX</dcterms:created>
  <dcterms:issued xsi:type="edtf:EDTF-level0">2022-08-02</dcterms:issued> 

  <dcterms:license>VIAA-PUBLIEK-METADATA-LTD</dcterms:license>

  <dcterms:subject>chat blanc</dcterms:subject>
  <dcterms:subject>cats</dcterms:subject>

</metadata> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions