Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding root element to dcterms.xsd #109

Open
milvld opened this issue Aug 3, 2022 · 1 comment
Open

Adding root element to dcterms.xsd #109

milvld opened this issue Aug 3, 2022 · 1 comment
Labels

Comments

@milvld
Copy link

milvld commented Aug 3, 2022

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> 
@kcoyle
Copy link
Collaborator

kcoyle commented Sep 21, 2022

Hello @milvala . I'm sorry you haven't gotten a reply yet. If you have solved the problem please let us know. I ran the dc XSD through a validator and it came back as valid. That's about all I know how to do so if there is still a problem we can look for someone with actual XML/XSD skills.

@tombaker tombaker added the XML label Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants