Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle gmx:MimeFileType in onlineResource #1

Open
etj opened this issue Mar 10, 2014 · 0 comments
Open

Handle gmx:MimeFileType in onlineResource #1

etj opened this issue Mar 10, 2014 · 0 comments

Comments

@etj
Copy link
Member

etj commented Mar 10, 2014

CKAN CSW parser only extracts a CharacterString child from gmd:CI_OnlineResource/gmd:name.

When a gmx:MimeFileType is used instead, we may use both the text() and the type.

E.g.:

<gmd:CI_OnlineResource>
   <gmd:linkage>
      <gmd:URL>http://159.213.89.76/geonetwork/srv/en/resources.get?uuid=a911afd6-241d-4087-9739-2a81f5c51ba4&fname=strade_provinciali_prato.zip&access=private</gmd:URL>
   </gmd:linkage>
   <gmd:protocol>
      <gco:CharacterString>WWW:DOWNLOAD-1.0-http--download</gco:CharacterString>
   </gmd:protocol>
   <gmd:name>
      <gmx:MimeFileType xmlns:gmx="http://www.isotc211.org/2005/gmx" type="application/x-compressed">strade_provinciali_prato.zip</gmx:MimeFileType>
</gmd:name>
   <gmd:description>
      <gco:CharacterString>File zip contenente lo shape file del dato</gco:CharacterString>
   </gmd:description>
</gmd:CI_OnlineResource>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant