Closed AntoRot closed 3 years ago
Thanks for spotting this bug, @AntoRot .
Can you please provide the URL of the records in your examples (or similar ones), so to test the fixes to be done?
Thanks @andrea-perego.
A XML record where the title of specification is encoded using Anchor element is available at the URL https://geodati.gov.it/RNDT/rest/document?id=r_basili:399969B4-7CC7-6387-398C-549DD1CC3EA8 (or, as CSW GetRecords request https://geodati.gov.it/RNDT/csw?request=GetRecords&service=CSW&version=2.0.2&resultType=results&outputSchema=http://www.isotc211.org/2005/gmd&outputFormat=application/xml&typeNames=csw:Record&elementSetName=full&constraintLanguage=Filter&constraint_language_version=1.1.0&startPosition=1&maxRecords=10&Constraint=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Eidentifier%3C/PropertyName%3E%3CLiteral%3Er_basili:399969B4-7CC7-6387-398C-549DD1CC3EA8%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E ).
An example of XML record where the title of thesaurus is encoded using Anchor element but the keywords value is encoded using gco:CharacterString element is available at the URL https://github.com/AgID/rndt-guidance/blob/master/metadata/examples/esempio-dataset-rndt-2.0.xml
Thanks, @AntoRot .
I updated the XSLT via PR https://github.com/SEMICeu/iso-19139-to-dcat-ap/pull/5
The results can be checked here:
Unless there are any objections, I propose to consider this bug as fixed, and close this issue.
No objection from my side. Thanks.
Thanks, @AntoRot .
I performed some tests of the XSLT aligned with the draft of GeoDCAT-AP 2.0.0.
Concerning the conformity, the title of the specification is empty in the RDF file, output of the transformation, when in the INSPIRE XML file that title is encoded using the
gmd:title/gmx:Anchor
element, as recommended in the INSPIRE TG (see TG Recs C.11 and 1.10).I.e. metadata in ISO 19139
is transformed into
where the title value is empty, nor the related URI is used.
The same occurs with the title of the thesaurus when that title is encoded using the Anchor element but the keyword values are encoded using
gco:CharacterString
element (I know that this sounds bizarre but this also happens), i.e.this metadata in ISO 19139
is transformed into
where again the title value of the thesaurus is empty.