Opened 14 years ago

Last modified 12 years ago

#362 new defect

XML File Upload vs. XML Copy/Paste validation behaviour differs

Reported by: josegar74 Owned by: geonetwork-devel@…
Priority: major Milestone: v2.6.5
Component: General Version: v2.6.0
Keywords: Cc:

Description

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.

  1. 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.

Change History (2)

comment:1 by heikki, 14 years ago

Milestone: v2.6.1v2.6.2

comment:2 by ianwallen, 12 years ago

Milestone: v2.6.3v2.6.5
Note: See TracTickets for help on using tickets.