Gavin:
I seem to recall these sort of problems. Are you really exporting
correctly formatted xml from ArcCatalog?
The meta data is entered in ArcCatalog using the FGDC stylesheet and
when you have completed the meta data you need to export the metadata,
not just save the metadata and try and import that into GeoNetwork.
When you export from ArcCatalog make sure you use the FGDC CSDGM (XML)
format. I have no problems batch importing this into GeoNetwork, but I
do not validate the meta data - otherwise all those REQUIRED fields
that are not completed would fail the validation rules and stop the
import.
All the best
Rich
Check to make sure that when you save the metadata
On 8/22/06, Jeroen Ticheler <Jeroen.Ticheler@anonymised.com> wrote:
Hi Gavin,
I'm not aware of an equivalent. You could use the same approach as for the
ISO translation. What it needs is an XSL that will filter out all the
original and correct data and write it out in a manner that it validates
against the FGDC schemas (as used in GeoNetwork). If you have such an XSL,
you can include it into the GeoNetwork application so it can be applied to
imported metadata. The functionality is already there:
In the /geonetwork/web/xsl folder you'll find another folder named
"batch-import" . This is where you would put the XSL (let me name it
fgdc_esri2geonetwork.xsl) document. (test the XSL manually before when
developing it to make sure it works!). At this point, when doing a Batch
import, you have the option to select that stylesheet from a drop down box.
The stylesheet will be applied to each incoming metadata.
Remark, this could also be done for the XML Metadata Insert function. I
think that only the form has to be adapted although I'm not completely sure.
If you come up with a good XSL, I'm happy to include it.
A similar XSL could be developed for exporting, so that an ArcCatalog read
the metadata exported from GeoNetwork. This is a new function that would
need integration in the presentation part of the application. Its not very
hard and can (should!?) be done for both FGDC and ISO. Any volunteers?
Ciao,
Jeroen
On Aug 3, 2006, at 3:59 PM, Gavin Fleming wrote:
I am struggling to load FGDC XML exported from ArcCatalog into Geonetwork
2.02. I see there's a 'ISO Convert 1.0' tool for cleaning ISO ESRI data. Is
there an equivalent for FGDC? Or any other tips? Or plans to include these
transformations in Geonetwork?
If I validate I get errors like:
Error on line 6: cvc-datatype-valid.1.2.2: 'REQUIRED: The date when the data
set is published or otherwise made available for release.' is not a valid
value of list type 'pubdateType'.
i.e. it is expecting a date, not text.
If I don't validate I get this error: The data "null" is not legal for a
JDOM attribute: A null is not a legal XML value.
thanks
Gavin Fleming MSc
Sustainable Development Researcher
Mintek
w: +27-11-709-4668
c: 0845965680
f: 0866164820
xmpp (Jabber, Google Talk, etc.): gavinjfleming@anonymised.com
postal: P/Bag X3015, Randburg, 2125
physical: 200 Hans Strijdom Drive, Randburg
South Africa
27.9782E 26.0896S
-------------------------------------------------------------------------
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
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