#620: CSW Transaction Update operation fixes to be according CSW spec
--------------------------------+-------------------------------------------
Reporter: josegar74 | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: Metadata standards | Version: v2.6.3
Keywords: |
--------------------------------+-------------------------------------------
Actual implementation of Transaction Update requires full update of
metadata record not supporting updates of individual metadata properties.
Attached patch to review with these changes:
* Update of full metadata doesn't require the Csw:Constraint
* Support for csw:RecordProperty to update individual metadata properties.
The properties can be referenced by Xpath or by ISO property name.
For the ISO property name, in the file config-csw.xml to the queryable
properties has been added the xpath property that represents (to check
better about all mappings)
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/620>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#620: CSW Transaction Update operation fixes to be according CSW spec
--------------------------------+-------------------------------------------
Reporter: josegar74 | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: Metadata standards | Version: v2.6.3
Keywords: |
--------------------------------+-------------------------------------------
Comment(by simonp):
Hi Jose,
Nice enhancement!
Just checking: Seems like the xpaths can be specified in the propertyName
(line 367-370)? This would be good as otherwise all profiles will be
broken by the hardcoded xpaths in the config file?
Also, instead of hardcoding the namespaces in the code (HashMap mapNs eg.
lines 284-288), can you get the namespaces for the record to be updated
from the MetadataSchema object which is available for a metadata record
from the SchemaManager? That way the schema will determine the namespaces.
There are also some xpath utils in Jeeves.utils.Xml which might help too.
Cheers,
Simon
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/620#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#620: CSW Transaction Update operation fixes to be according CSW spec
--------------------------------+-------------------------------------------
Reporter: josegar74 | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: Metadata standards | Version: v2.6.3
Keywords: |
--------------------------------+-------------------------------------------
Comment(by josegar74):
Thanks Simon for feedback. I'll check to fix about namespaces.
About the hardcoded xpaths in config_csw.xml file, maybe should be change
a bit so can be specified the xpath for each profile. Will check how to
modify this.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/620#comment:2>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#620: CSW Transaction Update operation fixes to be according CSW spec
--------------------------------+-------------------------------------------
Reporter: josegar74 | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: Metadata standards | Version: v2.6.3
Keywords: |
--------------------------------+-------------------------------------------
Comment(by josegar74):
Updated patch with suggestions from Simon and allowing to configure in
{{{config-csw.xml}}} the xpath for each ISO property depending on metadata
schema
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/620#comment:3>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#620: CSW Transaction Update operation fixes to be according CSW spec
---------------------------------+------------------------------------------
Reporter: josegar74 | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: major | Milestone: v2.6.5
Component: Metadata standards | Version: v2.6.3
Resolution: fixed | Keywords:
---------------------------------+------------------------------------------
Changes (by josegar74):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/620#comment:4>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.