Support #3582

LU: ATOM Download Service: The content "" of element <KeywordValue> does not match the required simple type

Added by Stijn Goedertier over 1 year ago. Updated about 1 year ago.

Status:ClosedStart date:26 Apr 2019
Priority:NormalDue date:
Assignee:Angelo Quaglia% Done:

100%

Category:Harvesting results
Target version:-
Submitting Organisation:LU Knowledge-Base relevant?:No
Proactive:No Keyword #1:
Country:LU - Luxembourg Keyword #2:
Originating UI:Validator2 Keyword #3:

Description

Dear Angelo and Davide,

I am getting an error message "The content "" of element <KeywordValue> does not match the required simple type. Value "" contravenes the minLength facet "1" of the type keywordValue at column 54, line 985" on the service-level ATOM feed that I do not understand. Could you please look into this?

with kind regards,

Stijn

 

https://catalog.inspire.geoportail.lu/geonetwork/srv/eng/catalog.search#/metadata/ee99acf6-0c4f-4bf3-9bdd-c88f29d9eb50

 

 

 

History

#1 Updated by Angelo Quaglia over 1 year ago

  • Subject changed from ATOM Download Service: The content "" of element <KeywordValue> does not match the required simple type to LU: ATOM Download Service: The content "" of element <KeywordValue> does not match the required simple type
  • Description updated (diff)
  • Status changed from New to Assigned
  • Assignee set to Angelo Quaglia
  • Submitting Organisation set to LU

#2 Updated by Angelo Quaglia over 1 year ago

  • Status changed from Assigned to Feedback
Dear Stjin,
that message is from a failsafe mechanism and tells me there is one metadata where a keyword was declared with an empty value:

<SpatialDataSetMetadata subfeedUrl="https://catalog.inspire.geoportail.lu/geonetwork/srv/atom/describe/dataset?spatial_dataset_identifier_code=6b2f8543-2af9-4207-86c8-3b2fa7f4750d&amp;spatial_dataset_identifier_namespace=LU.EAU&amp;language=en">
                <SpatialDataSet sourceMetadataUrl="https://catalog.inspire.geoportail.lu/geonetwork/srv/eng/csw?service=CSW&amp;version=2.0.2&amp;request=GetRecordById&amp;outputschema=http://www.isotc211.org/2005/gmd&amp;elementSetName=full&amp;id=e8ea5ab8-91f1-4451-bf3d-59963ec2f726">
                    <ResourceTitle>INSPIRE - Annex I Theme Protected Sites - Drinking water syndicates</ResourceTitle>
..
                    <Keyword>
                        <OriginatingControlledVocabulary>
                            <Title>GEMET - Concepts, version 2.4</Title>
                            <DateOfPublication>2010-01-13</DateOfPublication>
                        </OriginatingControlledVocabulary>
                        <KeywordValue></KeywordValue>
                    </Keyword>


Indeed if I open this dataset metadata:

https://catalog.inspire.geoportail.lu/geonetwork/srv/eng/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8ea5ab8-91f1-4451-bf3d-59963ec2f726

I find and empty keyword:

        <gmd:descriptiveKeywords>
          <gmd:MD_Keywords>
            <gmd:keyword gco:nilReason="missing">
              <gco:CharacterString />
            </gmd:keyword>
            <gmd:type>
              <gmd:MD_KeywordTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme" />
            </gmd:type>
            <gmd:thesaurusName>
              <gmd:CI_Citation>
                <gmd:title>
                  <gco:CharacterString>GEMET - Concepts, version 2.4</gco:CharacterString>
                </gmd:title>
                <gmd:date>
                  <gmd:CI_Date>
                    <gmd:date>
                      <gco:Date>2010-01-13</gco:Date>
                    </gmd:date>
                    <gmd:dateType>
                      <gmd:CI_DateTypeCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication" />
                    </gmd:dateType>
                  </gmd:CI_Date>
                </gmd:date>
                <gmd:identifier>
                  <gmd:MD_Identifier>
                    <gmd:code>
                      <gmx:Anchor xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://catalog.inspire.geoportail.lu/geonetwork/srv/eng/thesaurus.download?ref=external.theme.gemet">geonetwork.thesaurus.external.theme.gemet</gmx:Anchor>
                    </gmd:code>
                  </gmd:MD_Identifier>
                </gmd:identifier>
              </gmd:CI_Citation>
            </gmd:thesaurusName>
          </gmd:MD_Keywords>
        </gmd:descriptiveKeywords>

 

Best regards,

Angelo

#3 Updated by Stijn Goedertier over 1 year ago

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100

Dear Angelo, many thanks for replying so quickly on a Friday evening! I have fixed this one error and will be looking for empty keyword values in our CSW output.

 

The reason I could not understand the error message is because of the place of the error message: on the ATOM feed (the network service metadata response), whereas for the datasets metadata no error was reported. Perhaps something could be done about the location of this error message...

#4 Updated by Angelo Quaglia over 1 year ago

Dear Stjin,

the error message appears at the service level because the Geoportal representation of the Download Service Metadata Response contains the Data Set metadata, in order to match the Network Service Regulation specification.

However, it should have been reported also the dataset level. Many thanks for noticing this.

Best regards,

Angelo

#5 Updated by Angelo Quaglia about 1 year ago

  • Category set to Harvesting results

Also available in: Atom PDF