hi list, hi jeroen, carl & richard!
thank you very much for your replies!
the import of my metadata worked for my data almost the way carl
describes below.
i imported fdgc-metadata successfully when i deleted line nr.1. only in
this case saving the imported data was impossible and i got an error
when saving (see below). i removed "xml:" from line nr.2., then saving
worked fine.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <metadata xml:lang="de">
3 ...
4 ...
5 </metadata>
i am far from being an xml-expert, so if this is the wrong way to solve
the problem, please give me a hint!
bye,
ursula
error-message:
-----
HTTP ERROR: 500
Cannot build ServiceRequest
Cause : The name "_1_xml:lang" is not legal for JDOM/XML elements:
Element names cannot contain colons.
Error : org.jdom.IllegalNameException
Stack :
org.jdom.IllegalNameException: The name "_1_xml:lang" is not legal for
JDOM/XML elements: Element names cannot contain colons.
at org.jdom.Element.setName(Element.java:206)
at org.jdom.Element.<init>(Element.java:140)
at org.jdom.Element.<init>(Element.java:152)
at
jeeves.server.sources.ServiceRequestFactory.getMultipartParams(ServiceRequestFactory.java:226)
at
jeeves.server.sources.ServiceRequestFactory.extractParameters(ServiceRequestFactory.java:173)
at
jeeves.server.sources.ServiceRequestFactory.create(ServiceRequestFactory.java:95)
at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:151)
at jeeves.server.sources.http.JeevesServlet.doPost(JeevesServlet.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
RequestURI=/geonetwork/srv/en/metadata.update
----
Carl Anderson schrieb:
We ran into a similar issue when importing both FGDC-std conforming
metadata and ArcCatalog metadata.
depending on the import method if the file starts with
<? xml .... ?>
<metadata>
The error Ursula saw occurs.
If you manually edit the file stripping the <?xml ... ?> comment
the import works fine.
Note that the <?xml ... ?> comment is NOT stored in the database and is
added by the stylesheets when editing or reviewing.
Once imported geonetwork mostly ignores the xml tags it does not understand.
Of course Arc Catalog metadata is an extension to fgdc-std (CSDGM v2.0)
metadata and the extensions are not always honored.
Instead of converting
Arc Catalog -> fgdc-std (CSDGM v2.0) -> ISO 19115 -> ISO 19139 (CSDGM
v3.0?)
Locally we are working on stylesheets for
Arc Catalog -> ISO 19139 ( CSDGM v3.0?)
and
CSDGM V2.0 -> ISO 19139 ( CSDGM v3.0?)
we do note that
ISO19139 is not yet official, it appears to be at the DIS stage.
US FGDC is expected to adopt ISO19139 as CSDGM v3.0.
C.
Carl Anderson
GIS Manager
Fulton County, Georgia, USA
Jeroen Ticheler wrote:
Hi Ursula,
The explanation is very simple: The two XML structures differ
significantly. What needs to be done is a conversion from one into
the other structure and vice-versa. In GeoNetwork this could be done
automatically, but we need to work on the translator XSL stylesheet.
I know people have worked on this but unfortunately we did not have a
recent version send back to us. I have published an initial
conversion tool that can be downloaded from the Software section on
the GeoNetwork community website. Again, that one still needs
improvements on the XSL...
So in this email: has anyone done work on updating the XSL sheets for
ArcCatalog conversions? If yes, could you please provide input?
Hope this helps,
Jeroen
On Jun 1, 2006, at 1:23 PM, Ursula Hoernes wrote:
hi list,
i recently began using the geonetwork metadata editor.
since many of my collegues are using ArcCatalog i want to test the
compatibility of the two systems. i tried to import the xml-source-
code
from the geonetwork xml-view into the filename.shp.xml.
viewing the metadata with the iso-stylesheet is not possible, no
entries
are shown. when i try to edit the metadata with the iso-editor, i find
that many of my entries have dissappeared.
if i try to import my existing metadata from ArcCatalog into
GeoNetwork
via XML Metadata insert, i get the error-message "The requested
operation could not be performed. Root element not set".
has anybody of you a solution / explanation for this problems?
thanks a lot in advance,
ursula hoernes
System infomation
Installation Information
------------------------------
Product Name: ArcGIS Desktop
Release Version: 9.0.0.0
Product Version: 9.0.0.535
Service Pack Information
------------------------------
ArcGIS Service Pack: 3 (build 9.0.0.580)
ArcCatalog Settings
------------------------------
Default Stylesheet: ISO
Metadata Editor: ISO-Wizard
Synchronizers: ISO (exclusive)
--
Dipl. Biol. Ursula Hoernes
Ecology-Centre Kiel
Olshausenstrasse 75
24118 Kiel
Phone: +49(0)431 880 3454
Fax: +49(0)431 880 4083
uhoernes@anonymised.com
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
--
Dipl. Biol. Ursula Hoernes
Ecology-Centre Kiel
Olshausenstrasse 75
24118 Kiel
Phone: +49(0)431 880 3454
Fax: +49(0)431 880 4083
uhoernes@anonymised.com