An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20131223/2973def4/attachment.pl>
new error message from gbif
3 messages · Agus Camacho, Robert J. Hijmans
Agus, If this email was meant for me, then you should not send it a mailing list. If it was meant for the mailing list, then you should not address it to me. Robert
On Mon, Dec 23, 2013 at 2:36 PM, Agus Camacho <agus.camacho at gmail.com> wrote:
Dear Robert Hijmans,
I have been using the function gbif for while and had an error message I
never saw before.
sprecords=gbif(genus="Trichoglossus", species=" haematodus")
Trichoglossus haematodus : 145597 occurrences found
0-1000PCDATA invalid Char value 23
PCDATA invalid Char value 23
Error : 1: PCDATA invalid Char value 23
2: PCDATA invalid Char value 23
It keeps trying and trying, but nothing comes. Already asked to the gbif
but had no answer on this.
Thanks for keeping up the gbif function, its very helpful.
Agus
--
Agust?n Camacho Guerrero.
Doutor em Zoologia.
Laborat?rio de Herpetologia, Departamento de Zoologia, Instituto de
Bioci?ncias, USP.
Rua do Mat?o, trav. 14, n? 321, Cidade Universit?ria,
S?o Paulo - SP, CEP: 05508-090, Brasil.
[[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Agus, I think this is the offending record: http://data.gbif.org/ws/rest/occurrence/get/500956821 Firefox shows where the problem is (Chrome does not show anything; and Internet Explorer is not helpful either). There is an ETB (ASCII control code 23, "\027") character between '35' and '28' in the original longitude and in the latitude description (this is thus bad in more than one way). I suppose I could check each file for inappropriate ASCII codes before the XML parsing (where the error occurs); but this is really something that GBIF should clean up; so you were right in contacting them first. Best, Robert
On Mon, Dec 23, 2013 at 3:43 PM, Robert J. Hijmans <r.hijmans at gmail.com> wrote:
Agus, If this email was meant for me, then you should not send it a mailing list. If it was meant for the mailing list, then you should not address it to me. Robert On Mon, Dec 23, 2013 at 2:36 PM, Agus Camacho <agus.camacho at gmail.com> wrote:
Dear Robert Hijmans,
I have been using the function gbif for while and had an error message I
never saw before.
sprecords=gbif(genus="Trichoglossus", species=" haematodus")
Trichoglossus haematodus : 145597 occurrences found
0-1000PCDATA invalid Char value 23
PCDATA invalid Char value 23
Error : 1: PCDATA invalid Char value 23
2: PCDATA invalid Char value 23
It keeps trying and trying, but nothing comes. Already asked to the gbif
but had no answer on this.
Thanks for keeping up the gbif function, its very helpful.
Agus
--
Agust?n Camacho Guerrero.
Doutor em Zoologia.
Laborat?rio de Herpetologia, Departamento de Zoologia, Instituto de
Bioci?ncias, USP.
Rua do Mat?o, trav. 14, n? 321, Cidade Universit?ria,
S?o Paulo - SP, CEP: 05508-090, Brasil.
[[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo