Skip to content
Go to file
Cannot retrieve contributors at this time
32 lines (20 sloc) 1.96 KB

#Responsible party contact info

Purpose: Name and contact email to a responsible party must be given for every responsible organization in the metadata.


Test method

The test first checks if there is at least one element at gmd:identificationInfo/*/gmd:pointOfContact. Furthermore, the following checks are performed

  • There must not be an empty characterstring at ./gmd:organisationName
  • There must not be an empty characterstring at ./gmd:contactInfo/*/gmd:address/*/gmd:electronicMailAddress. Check electronicMailAddress with the regular expresion ^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,}$. If the string does not match the regular expression, the test fails (note: regex built for case insensitive match).


  • TG MD 2.10.1, Req 35 & 36

Test type: Automated


In the ETS, an updated regex '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$' has been used (regex are case sensitive and special characters like "." and "+" have to be escaped).

##Contextual XPath references

The namespace prefixes used as described in

Abbreviation XPath expression (relative to gmd:MD_Metadata)
CI_ResponsibleParty ./gmd:identificationInfo/*/gmd:pointOfContact/*/gmd:CI_ResponsibleParty
Organisation Name ./gmd:organisationName
Electronic Mail Address ./gmd:contactInfo//gmd:address//gmd:electronicMailAddress
You can’t perform that action at this time.