Hello.
I am a complete geo metadata newbie trying to import some tc211 metadata (in xml) into geonetwork. During upload I choose iso19115 as it seem to be the best choise. Is it?
I get the following error message: "The requested operation could not be performed. Root element not set" and the following stacktrace on the server.
java.lang.IllegalStateException: Root element not set
at org.jdom.Document.getRootElement(Document.java:218)
at jeeves.utils.Xml.transform(Xml.java:102)
at org.fao.geonet.kernel.DataManager.extractUUID(DataManager.java:256)
at org.fao.geonet.services.metadata.Insert.exec(Insert.java:89)
Tried to dig into this and found web/xml/schemas/iso19115/extract-uuid.xsl that looks for Metadata/mdFileID. My metadata has MD_Metadata/fileIdentifier instead. The start of the file (I do not know if it is correct) looks like this:
<MD_Metadata
xmlns="http://www.isotc211.org/schemas/2005/gmd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gco="http://www.isotc211.org/schemas/2005/gco"
xsi:schemaLocation="http://www.isotc211.org/schemas/2005/gmd ../gmd/gmd.xsd">
<fileIdentifier>
<gco:CharacterString>1234-43214321-432432-12332</gco:CharacterString>
</fileIdentifier>
Is my file correct? Should I create a web/xml/schemas/tc211 or what?
Regards,
- Tore.
Your metadata is correct: you need only to use a prefix (say, 'gmd') instead
of the default one (this is important for the editor).
When importing the metadata, you have to choose iso19139 because
that standard is the encoding of the 19115 using xml.
The iso19115 is an old encoding with short names that is obsolete now.
Cheers,
Andrea
Hello.
I am a complete geo metadata newbie trying to import some tc211
metadata (in xml) into geonetwork. During upload I choose iso19115 as
it seem to be the best choise. Is it?
I get the following error message: "The requested operation could not
be performed. Root element not set" and the following stacktrace on
the server.
java.lang.IllegalStateException: Root element not set
at org.jdom.Document.getRootElement(Document.java:218)
at jeeves.utils.Xml.transform(Xml.java:102)
at org.fao.geonet.kernel.DataManager.extractUUID
(DataManager.java:256)
at org.fao.geonet.services.metadata.Insert.exec(Insert.java:89)
Tried to dig into this and found web/xml/schemas/iso19115/extract-
uuid.xsl that looks for Metadata/mdFileID. My metadata has
MD_Metadata/fileIdentifier instead. The start of the file (I do not
know if it is correct) looks like this:
<MD_Metadata
xmlns="http://www.isotc211.org/schemas/2005/gmd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gco="http://www.isotc211.org/schemas/2005/gco"
xsi:schemaLocation="http://www.isotc211.org/schemas/2005/gmd ../gmd/
gmd.xsd">
<fileIdentifier>
<gco:CharacterString>1234-43214321-432432-12332</gco:CharacterString>
</fileIdentifier>
Is my file correct? Should I create a web/xml/schemas/tc211 or what?
Regards,
- Tore.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Hello.
Thanks! I guess I will need a newer version of geonetwork than 2.0.3 to be able to choose iso19139. Currently I can only choose iso19115, fgdc-std or dublin-core.
Regards,
- Tore.
On Feb 10, 2007, at 15:18, Andrea Carboni wrote:
Your metadata is correct: you need only to use a prefix (say, 'gmd') instead
of the default one (this is important for the editor).
When importing the metadata, you have to choose iso19139 because
that standard is the encoding of the 19115 using xml.
The iso19115 is an old encoding with short names that is obsolete now.
Cheers,
Andrea
Hello.
I am a complete geo metadata newbie trying to import some tc211
metadata (in xml) into geonetwork. During upload I choose iso19115 as
it seem to be the best choise. Is it?
I get the following error message: "The requested operation could not
be performed. Root element not set" and the following stacktrace on
the server.
java.lang.IllegalStateException: Root element not set
at org.jdom.Document.getRootElement(Document.java:218)
at jeeves.utils.Xml.transform(Xml.java:102)
at org.fao.geonet.kernel.DataManager.extractUUID
(DataManager.java:256)
at org.fao.geonet.services.metadata.Insert.exec(Insert.java:89)
Tried to dig into this and found web/xml/schemas/iso19115/extract-
uuid.xsl that looks for Metadata/mdFileID. My metadata has
MD_Metadata/fileIdentifier instead. The start of the file (I do not
know if it is correct) looks like this:
<MD_Metadata
xmlns="http://www.isotc211.org/schemas/2005/gmd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gco="http://www.isotc211.org/schemas/2005/gco"
xsi:schemaLocation="http://www.isotc211.org/schemas/2005/gmd ../gmd/
gmd.xsd">
<fileIdentifier>
<gco:CharacterString>1234-43214321-432432-12332</gco:CharacterString>
</fileIdentifier>
Is my file correct? Should I create a web/xml/schemas/tc211 or what?
Regards,
- Tore.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Hi Tore,
That's correct. You'll need to get the code from the SVN to have the latest.
We are working on getting a beta release ready.
Ciao,
Jeroen
-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net on behalf of Tore
Halset
Sent: Mon 2/19/2007 22:07
To: geonetwork-users@lists.sourceforge.net
Cc:
Subject: Re: [GeoNetwork-users] tc211
Hello.
Thanks! I guess I will need a newer version of geonetwork than 2.0.3
to be able to choose iso19139. Currently I can only choose iso19115,
fgdc-std or dublin-core.
Regards,
- Tore.
On Feb 10, 2007, at 15:18, Andrea Carboni wrote:
Your metadata is correct: you need only to use a prefix (say,
'gmd') instead
of the default one (this is important for the editor).
When importing the metadata, you have to choose iso19139 because
that standard is the encoding of the 19115 using xml.
The iso19115 is an old encoding with short names that is obsolete now.
Cheers,
Andrea
Hello.
I am a complete geo metadata newbie trying to import some tc211
metadata (in xml) into geonetwork. During upload I choose iso19115 as
it seem to be the best choise. Is it?
I get the following error message: "The requested operation could not
be performed. Root element not set" and the following stacktrace on
the server.
java.lang.IllegalStateException: Root element not set
at org.jdom.Document.getRootElement(Document.java:218)
at jeeves.utils.Xml.transform(Xml.java:102)
at org.fao.geonet.kernel.DataManager.extractUUID
(DataManager.java:256)
at org.fao.geonet.services.metadata.Insert.exec
(Insert.java:89)
Tried to dig into this and found web/xml/schemas/iso19115/extract-
uuid.xsl that looks for Metadata/mdFileID. My metadata has
MD_Metadata/fileIdentifier instead. The start of the file (I do not
know if it is correct) looks like this:
<MD_Metadata
xmlns="http://www.isotc211.org/schemas/2005/gmd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gco="http://www.isotc211.org/schemas/2005/gco"
xsi:schemaLocation="http://www.isotc211.org/schemas/2005/gmd ../gmd/
gmd.xsd">
<fileIdentifier>
<gco:CharacterString>1234-43214321-432432-12332</
gco:CharacterString>
</fileIdentifier>
Is my file correct? Should I create a web/xml/schemas/tc211 or what?
Regards,
- Tore.
---------------------------------------------------------------------
----
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your
job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork
----------------------------------------------------------------------
---
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your
job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
GeoNetwork OpenSource is maintained at