You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating MD via CSW-T, even if the root element for each MD contains a reference to the gco prefix, this one is discarded from the root element, and repeated on each element which needs it, e.g.:
<gmd:contact>
<gmd:CI_ResponsibleParty>
<gmd:individualName>
<gco:CharacterStringxmlns:gco="http://www.isotc211.org/2005/gco">Maël REBOUX - Service Information Géographique</gco:CharacterString>
</gmd:individualName>
[...]
Yet perfeclty valid XML, this is not very human-readable (well, if we can consider human-readablility of iso19139 metadatas ...). One solution will be to force gco to be defined on each root element of inserted metadatas, here is a unit test which validates this approach:
When creating MD via CSW-T, even if the root element for each MD contains a reference to the gco prefix, this one is discarded from the root element, and repeated on each element which needs it, e.g.:
Yet perfeclty valid XML, this is not very human-readable (well, if we can consider human-readablility of iso19139 metadatas ...). One solution will be to force gco to be defined on each root element of inserted metadatas, here is a unit test which validates this approach:
To be placed somewhere in the CSW-T code and the Metadata's dataManager GN logic.
The text was updated successfully, but these errors were encountered: