id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
373,"GeoNetwork changes schemaLocation, potentially invalidating metadata",heikki,heikki,"The metadata Show service adds schemaLocation to ISO documents. This may be fine when there is no schemaLocation, but it should not do this when there is already a schemaLocation. Also, the current implementation changes a valid input document that has


{{{
<gmd:MD_Metadata
   xmlns:srv=""http://www.isotc211.org/2005/srv""
   xmlns:gml=""http://www.opengis.net/gml""
   xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""
   xmlns:gco=""http://www.isotc211.org/2005/gco""
   xmlns:xlink=""http://www.w3.org/1999/xlink""
   xmlns:gmd=""http://www.isotc211.org/2005/gmd""
   xsi:schemaLocation=""http://www.isotc211.org/2005/srv http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd"">
}}}

to the invalid

{{{
<gmd:MD_Metadata xmlns:gmd=""http://www.isotc211.org/2005/gmd""
   xmlns:srv=""http://www.isotc211.org/2005/srv""
   xmlns:gml=""http://www.opengis.net/gml""
   xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""
   xmlns:gco=""http://www.isotc211.org/2005/gco""
   xmlns:xlink=""http://www.w3.org/1999/xlink""
   xmlns:geonet=""http://www.fao.org/geonetwork""
   xsi:schemaLocation=""http://www.isotc211.org/2005/gmd http://www.isotc211.org/2005/gmd/gmd.xsd http://www.isotc211.org/2005/srv http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd"">
}}}

(the 2 schemaLocations describe partially the same schema types, trying to assign them to different namespaces).",defect,closed,major,v2.6.2,General,v2.6.1,fixed,,
