Ticket #343 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

CSW / iso19110 / exception when requesting ISO19139 output

Reported by: Fxp Owned by: geonetwork-devel@…
Priority: major Milestone: v2.6.1
Component: General Version: v2.6.1
Keywords: Cc:

Description

Test :

  • Create an iso19110 record
  • Run CSW query :
    <?xml version="1.0"?>
    <csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" service="CSW" version="2.0.2"
        resultType="results" outputSchema="csw:IsoRecord">
        <csw:Query typeNames="gmd:MD_Metadata">
            <csw:Constraint version="1.1.0">
                <Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"/>
            </csw:Constraint>
        </csw:Query>
    </csw:GetRecords>
    

Error is:

<ows:ExceptionText>Raised exception while getting metadata :javax.xml.transform.TransformerConfigurationException: Requested transformation [.../geonetwork/xml/csw/schemas/iso19110/iso-summary.xsl] does not exist.</ows:ExceptionText> 

Fix:

  • Do not return iso19110 records when output format is iso19139 (like fgdc or dc records)

Change History

Changed 3 years ago by Fxp

Quick fix in r6680, but we should probably add  http://www.isotc211.org/2005/gfc to the list of outputSchema for CSW response.

Changed 3 years ago by Fxp

r6682 in branch 2.6.x

Changed 3 years ago by fxp

  • status changed from new to closed
  • resolution set to fixed

See #377 for CSW improvements.

Changed 3 years ago by fxp

  • milestone set to v2.6.1
Note: See TracTickets for help on using tickets.