openaire / guidelines-literature-repositories

OpenAIRE Guidelines for Literature Repository Managers based on Dublin Core and DataCite Metadata Kernel
https://openaire-guidelines-for-literature-repository-managers.readthedocs.io/
11 stars 13 forks source link

Improve the XML markup description of the resource record with namespace #27

Open ACz-UniBi opened 3 years ago

ACz-UniBi commented 3 years ago

Dear,

in the Application Profile page ( https://github.com/openaire/guidelines-literature-repositories/blob/master/docs/application_profile.rst ) , there is an example snippet:

   <resource xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:dcterms="http://purl.org/dc/terms/"
     xmlns:datacite="http://datacite.org/schema/kernel-4"
     xmlns="http://namespace.openaire.eu/schema/oaire/"
     xsi:schemaLocation="http://namespace.openaire.eu/schema/oaire/ https://www.openaire.eu/schema/repo-lit/4.0/openaire.xsd">

Could it improve with the oaire - namespace because some node elements use this namespace explicitly, like

   <oaire:resource xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:dcterms="http://purl.org/dc/terms/"
     xmlns:datacite="http://datacite.org/schema/kernel-4"
     xmlns:oaire="http://namespace.openaire.eu/schema/oaire/"
     xsi:schemaLocation="http://namespace.openaire.eu/schema/oaire/ https://www.openaire.eu/schema/repo-lit/4.0/openaire.xsd">

Thanks in advance, Andreas