You are not logged in.

Announcement

Welcome to the forum for discussion of NBN technical issues. If you are new and want some guidance on getting started view the help page. Be sure to read this if you need help on setting up Email Digests, which will allow you to recieve forum updates via email. This forum is dedicated to the various aspects of the NBN including Recorder biological recording software, Indicia and the NBN Gateway as well as the needs of the NBN technical group.

#1 2010-02-02 16:16:47

Luck
Member
From: Cheshire
Registered: 2007-08-14
Posts: 36
Website

NBN Taxonnomy Web Services - returning result with ?

If you search for Equisetum hyemale x ramosissimum.
The taxon web services return "?" instead of "=" on some species.

I have tried on my own code and the example on the web services page and it produces the same problem.

Have I missed anything here...?

Thanks

Luck


IT Officer
rECOrd (A Biodiversity Information System for Cheshire, Halton, Warrington and Wirral)
www.record-lrc.co.uk

Offline

 

#2 2010-02-04 12:06:37

Nick
Veteran
From: Aberdeenshire
Registered: 2006-05-11
Posts: 74
Website

Re: NBN Taxonnomy Web Services - returning result with ?

Hi Luck

I have checked and our system is returning results (see http://www.nesbrec.org/thesaurus2.php)

Cheers

Nick


(ePlanning Project Manager) Aberdeenshire Council

Offline

 

#3 2010-02-05 13:58:29

Luck
Member
From: Cheshire
Registered: 2007-08-14
Posts: 36
Website

Re: NBN Taxonnomy Web Services - returning result with ?

It seems to be the same problem that we have here.

Instead of Equisetum hyemale x ramosissimum ? E. x moorei
shoudl be Equisetum hyemale x ramosissimum = E. x moorei

This work just fine on nbn.
http://data.nbn.org.uk/searchengine/sea … 1&pg=1

Should I just do a quick replace in the code...?

Last edited by Luck (2010-02-05 14:01:20)


IT Officer
rECOrd (A Biodiversity Information System for Cheshire, Halton, Warrington and Wirral)
www.record-lrc.co.uk

Offline

 

#4 2010-02-09 10:01:35

Graham French
Moderator
Registered: 2006-05-23
Posts: 82

Re: NBN Taxonnomy Web Services - returning result with ?

Hello Luck

The reason the taxonomy web service is returning "?" instead of "=" is due to how the data is handled prior to the xml response being created. This = character is not recognised along the way and so is replaced by a ?. There are 637 taxa in the species dictionary with = in their name (all plant hybrids) and I would expect then all to be affected in the same way

This issue is known and being looked at and hopefully will be resolved by the next planned release of the web service this September, however Paul, who will be working on it, reports it will not be an easy one to resolve

Best wishes

Graham
NBN Technical Liaison Officer

Offline

 

#5 2010-02-16 15:01:19

Nick
Veteran
From: Aberdeenshire
Registered: 2006-05-11
Posts: 74
Website

Re: NBN Taxonnomy Web Services - returning result with ?

Hi Luck

I plan to use 'replace' now that I know it will always happen (I assume that there is never a '?' in any other species name) e.g. ? -> =.

However, I may have to use a more complex workaround because I use php (I use a protector module that prevents the use of some characters in URLs - prevents Cross-Site Scripting) neutral

Cheers

Nick

Last edited by Nick (2010-02-16 15:03:53)


(ePlanning Project Manager) Aberdeenshire Council

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB