metacat
metacat copied to clipboard
View service incorrectly displays ISO* Party Individual and Role fields when empty in the XML
Was looking at https://search.dataone.org/view/10.24431/rw1k118
Saw
The relevant XML shows two bugs:
- 'Individual' is shown even when empty: Make the XSLT test this and act appropriately
- 'Role' is shown when missing: Make the XSLt test for this and act appropriately
<gmd:citedResponsibleParty>
<gmd:CI_ResponsibleParty>
<gmd:individualName gco:nilReason="template"/>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:onlineResource>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>https://wildlifecomputers.com/</gmd:URL>
</gmd:linkage>
<gmd:name>
<gco:CharacterString>Wildlife Computers</gco:CharacterString>
</gmd:name>
<gmd:description>
<gco:CharacterString>Wildlife Computers web page where additional details on the tag models, processing software, and data descriptors can be found</gco:CharacterString>
</gmd:description>
</gmd:CI_OnlineResource>
</gmd:onlineResource>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role gco:nilReason="template"/>
</gmd:CI_ResponsibleParty>
</gmd:citedResponsibleParty>