[GeoNetwork-devel] [GeoNetwork opensource Developer website] #489: Unable to download raw xml metadata record

#489: Unable to download raw xml metadata record
---------------------+------------------------------------------------------
Reporter: gavz | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------
I think we are running an alpha build of geonetwork (2.7).
Our geonetwork server is located at http://spatial.ala.org.au/geonetwork

Steps to reproduce the problem
1. Select a metadata record based on the ANZLIC MCP schema -> select
simple search -> maps & graphics

2. Select a layer containing the following text in the title "c.1960 1km-
resolution climate layer for Australia"

3. Try clicking on the xml source link (<>). The following error message
appears:

XML Parsing Error: no element found
Location: http://spatial.ala.org.au/geonetwork/srv/en/iso19139.xml?id=13
Line Number 1, Column 39:<?xml version="1.0" encoding="UTF-8"?>
--------------------------------------^

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/489&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#489: Unable to download raw xml metadata record
---------------------+------------------------------------------------------
Reporter: gavz | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------

Comment(by simonp):

Patch attached which consolidates XML metadata export services so that:

- services that export metadata for a schema are prefixed by
xml_{schema_name} eg. xml_iso19139
- code in search results and viewer looks up xml services that can export
and displays icons
- mouse over/hover tips come from localized schema string files (oh no -
more work for translators!)
- the same code is used to display list of export icons in search results
and metadata viewer

If this patch is committed then the schema must provide the services that
export the metadata in various XML formats - this will prevent the error
in this bug ticket

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/489#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#489: Unable to download raw xml metadata record
---------------------+------------------------------------------------------
Reporter: gavz | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------

Comment(by Fxp):

The patch looks good to me Simon. Could we also add those links generated
in showMetadataExportIcons template to the brief format of each schemas
(like we do for KML or add to map link) which may be useful for client app
(eg. the widget) ?

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/489#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#489: Unable to download raw xml metadata record
---------------------+------------------------------------------------------
Reporter: gavz | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------

Comment(by simonp):

Thanks for the review Francois! I'll add the links to the brief format of
the schemas as suggested for the widget interface to use.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/489#comment:3&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#489: Unable to download raw xml metadata record
----------------------+-----------------------------------------------------
  Reporter: gavz | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.7.0
Component: General | Version:
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by simonp):

  * status: new => closed
  * resolution: => fixed

Comment:

Fixed in trunk in svn rev 8292 - schemaPlugins fixes will come along with
anzmest

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/489#comment:4&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.