[IPT] All space-characters in metadata are replaced to plus-character
Hannu Saarenmaa
hannu.saarenmaa at helsinki.fi
Fri Mar 9 12:03:02 CET 2012
This EML is older than the edited metadata. It was made before the
problem appeared.
I just made a new EML in
http://db.digitarium.fi:8080/ipt/resource.do?r=test The pluses do go in
this.
Hannu
On 2012-03-09 10:44, Tero Mononen wrote:
>
> Dear Tim,
>
> There's only public example (Title: William+Nylander+lichen+collection):
>
> http://db.digitarium.fi:8080/ipt/resource.do?r=nylander
>
> It's interesting, eml.xml on file system contains line:
>
> <title xml:lang="eng">William+Nylander+lichen+collection</title>
>
> But eml via IPT/Tomcat offers line:
>
> <title xml:lang="eng">William Nylander lichen collection</title>
>
> It's pure Tomcat without proxies.
>
> BR,
>
> Tero Mononen
>
> *From:*Tim Robertson [GBIF] [mailto:trobertson at gbif.org]
> *Sent:* Friday, March 09, 2012 10:37 AM
> *To:* Tero Mononen
> *Cc:* ipt at lists.gbif.org
> *Subject:* Re: [IPT] All space-characters in metadata are replaced to
> plus-character
>
> Dear Tero,
>
> Could you please provide a link to an example file? We'll
> investigate, but this is not a behavior I have ever seen with a Tomcat
> application.
>
> Do you run any proxies or mod_jk or anything like that?
>
> Thanks,
>
> Tim
>
> On Mar 9, 2012, at 9:35 AM, Tero Mononen wrote:
>
>
>
> Hi
>
> We have used this IPT-setup without any problems till now.
>
> System:
>
> Version 2.0.2-r3306
>
> Apache Tomcat/6.0.24
>
> JVM 1.6.0_29-b1
>
> Problem:
>
> All space-characters in metadata are replaced to plus-character. For
> example title "foo bar car" is saved as "foo+bar+car". It affects in
> every text field in metadata.
>
> If I include at least one plus-char in a text value, it prevents the
> space replacement. For example "foo bar car+dar" is saved as it is.
>
> I think this is related to Java/Tomcat/urlencode. Do you have
> suggestions how to fix this problem?
>
> Best Regards,
>
> Tero Mononen
>
> --
>
> Digitarium
>
> Digitisation Centre of the Finnish Museum of Natural History and the
> University of Eastern Finland Faculty of Science and Forestry, Joensuu
> Science Park Länsikatu 15 (P.O. Box 111)
>
> FI-80101 Joensuu
>
> http://www.digitarium.fi/
>
> Tero Mononen, Analyst Programmer
>
> tero.mononen at uef.fi <mailto:juha.lehtonen at uef.fi>
>
> +358-50-5631788
>
> _______________________________________________
> IPT mailing list
> IPT at lists.gbif.org <mailto:IPT at lists.gbif.org>
> http://lists.gbif.org/mailman/listinfo/ipt
>
>
> _______________________________________________
> IPT mailing list
> IPT at lists.gbif.org
> http://lists.gbif.org/mailman/listinfo/ipt
--
Digitarium - Digitisation Centre of the Finnish Museum of Natural History and the University of Eastern Finland
School of Computing, SIB-labs, Joensuu Science Park
Länsikatu 15 (P.O. Box 111)
FIN-80101 Joensuu
http://www.digitarium.fi/
Hannu Saarenmaa, Project Manager
hannu.saarenmaa at helsinki.fi
Skypename hsaarenmaa
Mobile +358-50-4479668
GBIF Node Manager for Finland
http://www.gbif.fi/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gbif.org/pipermail/ipt/attachments/20120309/5813bfd7/attachment.html
More information about the IPT
mailing list