[GeoNetwork-devel] [GeoNetwork opensource Developer website] #362: XML File Upload vs. XML Copy/Paste validation behaviour differs

#362: XML File Upload vs. XML Copy/Paste validation behaviour differs
-----------------------+----------------------------------------------------
Reporter: josegar74 | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.1
Component: General | Version: v2.6.0
Keywords: |
-----------------------+----------------------------------------------------
Thanks to Cristian Codorean for report

1. If I try to upload a piece of metadata in XML to the Geonetwork
catalogue using the 'File Upload' option, with no stylesheet
trasformation and validation turned to on, then everything is OK. The file
is validated, and added to the catalogue.

2. If I try to insert the same piece of metadata to the catalogue
using the 'Copy/Paste' option, with no stylesheet trasformation and
validation turned to on, it fails. Funny thing is that I am getting
the following message: 'Metadata is not valid. Validation against
schema definitions succeeded. Validation against schematron rules
succeeded.'. So, the validation succeeded, yet the metadata is not
valid. Looking at the logs, I can see some Schematron validation
errors, but not really sure what to make of them as I do not have
enough experience with that. The piece of metadata is successfully
uploaded to the catalogue if validation is set to off.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/362&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/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.

#362: XML File Upload vs. XML Copy/Paste validation behaviour differs
-----------------------+----------------------------------------------------
Reporter: josegar74 | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.2
Component: General | Version: v2.6.0
Keywords: |
-----------------------+----------------------------------------------------
Changes (by heikki):

  * milestone: v2.6.1 => v2.6.2

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/362#comment:1&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/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.