Hi,
after having solved my compilation troubles modifying
".\geonet\kernel\setting\SettingManager.java" (!), I attempted to load a
ISO 19139 record (from metadata.ddf, with DS_Dataset as root) by "XML
Metadata Insert".
I had the same result, "No root element set". Checking "Validate", the
message was "Error on line 1: cvc-elt.1: Cannot find the declaration of
element 'DS_DataSet'".
We all wait some help to open the 19139 route!
Good-bye!
Fanio Giannetto
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------
From: Andrew Robson <andrew.melmoth@anonymised.com>
Geonetwork alpha install (root element problem)
<http://sourceforge.net/mailarchive/message.php?msg_id=35312129>
2006-08-02 07:26
Hi,
I've been trying to install the latest version of geonetwork
(2.1.0_alpha_1)
) from CVS in order
to get access to the CSW functionality.
Had a couple of minor glitches. Script
setup/sql/create-db-mckoi.sqlattempts to create table
'Settings' twice and the unique constraint on uuid on the Metadata
table is
violated during loading. Fixed those but hit a more serious problem.
During
installation there is error message "No root element set".
I've traced this a bit - its getting thrown in the last line of method
updateFixedInfo in class org.fao.geonet.apps.setup.Setup.java - where
you
are trying to do an xsl transformation on the metadata. The record
that's
failing has ID 16 and iso19139 schema.
I hit the same problem last week but I noticed that in response to a
question about the root element of an iso19139 document last tuesday
Andrea
has updated the root element of this record to DS_Dataset. Was hoping
that
might have addressed my problem but doesn't seem to have helped.
I'd appreciate any help you can give as we (EDINA) haven't yet managed
to
build a version with the new CSW code.
Many thanks
Andrew Robson