[Geonetwork-devel] Re: Geonetwork Error report

Miguel,
Please see Roberto's reply. I hope you can provide some more feedback. Also, we will check the Resources.java service class and see if we can provide a patch and maybe an updated installer.
Ciao,
Jeroen

On 2 Dec 2004, at 16:04, Roberto Giaccio wrote:

Regarding the "fr" string, I fixed it long time ago and don't understand why it's still there.
On the second, I would need an example that cause the exception; I suppose that this could happen importing files which are declared (in the XML part) as UTF-8 but that contains characters in other formats.
Also, I fonld that this code in the Resources.java service class:

    Element orName = request.getChild("_" + pos);
    /* FIXME: should be always not null, so this code has been optimistically commented out
    if (orName == null)
    {
      orName = new Element("_" + pos);
      request.addContent(orName);
    }
    */

is still commented out; without this, when a new online resource is uploaded, the user gets an exception if the "orname" element, which is not mandatory according to the ISo standard, is missing.

        Roberto

Subject: Geonetwork Error report

Hello Jeroen,

I haven't had time to review Geonetwork 1.2.1 until today.

In public distribution version, i have found 2 errors:

First: When you trial to add new metadata form xml file, when check file with iso-19115- metadata.dtd file find one error because fr item are replicated in keyword list.

Second: When you trial to import xml files in batch mode, orror from jdom library are reported : Invalid byte 1 of 1-byte UTF-8 sequence. org.jdom.JDOMException
Sorry by later report.

Best regards,
Miguel Ángel Manso Callejo.