I'm trying to publish some metadata to geonetwork. I looked at the corresponding tutorial, and adapted the example to my situation. Since i didn't manage to get metadata from sPostgisOutput (see previous post), i decided to output my Postgis data to a new shapefile, and use this shapefile's metadata output. So far so nice.
But when i trigger a "OnComponentOK" from this shapefile to a sCataloguePublisher, set up as in the example, I get the following message
"org.talend.sdi.metadata.GeoNetwork | Connected to GeoNetwork.
org.talend.sdi.metadata.Catalogue | Invalid XML Document 'Error on line 33 of document : The element type "META" must be terminated by the matching end-tag "". Nested exception: The element type "META" must be terminated by the matching end-tag "".'
sCataloguePublisher_1 | Metadata published."
and/but nothing is published on the catalogue.
It's pretty disappointing.
Any idea to help me ?
Thanks for the answer. You're right, i did not think of publishing the XML file and then insert it via the geonetwork interface.
The fact is i can't find how to write de metadata output as an XML file, in SDI's interface. It looks like i'm not allowed to output metadata to classic XML file output.
Any idea ?