[tdwg-tapir] search with no result

Roger Hyam roger at tdwg.org
Fri Nov 18 10:33:26 CET 2005


A blank (as in just XML declaration) sounds good to me.

Roger

Steven Perry wrote:
> Markus,
>
> I've been wondering about this too.  My feeling is that we simply return 
> an empty document (xml definition at top, but empty otherwise).  I think 
> defining a custom <NULL> or <NoMatches> element may be confusing because 
> with no envelope, the message should be an instance of some schema other 
> than TAPIR -- one that does not define <NULL> or <NoMatches>.  I think 
> the first approach (empty doc) is less likely to break clients.
>
> -Steve
>
>
> Döring, Markus wrote:
>
>   
>> I found an unsolved problem in my pywrapper notes today regarding envelope-less operations. If I request a TAPIR GET service search operation which doesnt match any results, what should be returned?
>>
>> Without an envelope this would be an empty document without even a root!
>> Should we turn on the envelope in this case? Or return something like <NULL> or <NoMatches> defined by the protocol?
>>
>>
>> Markus
>>
>>
>>
>> _______________________________________________
>> tdwg-tapir mailing list
>> tdwg-tapir at lists.tdwg.org
>> http://lists.tdwg.org/mailman/listinfo/tdwg-tapir_lists.tdwg.org
>>  
>>
>>     
>
>
> _______________________________________________
> tdwg-tapir mailing list
> tdwg-tapir at lists.tdwg.org
> http://lists.tdwg.org/mailman/listinfo/tdwg-tapir_lists.tdwg.org
>
>   

-- 

-------------------------------------
 Roger Hyam
 Technical Architect
 Taxonomic Databases Working Group
-------------------------------------
 http://www.tdwg.org
 roger at tdwg.org
 +44 1578 722782
-------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tdwg.org/pipermail/tdwg-tag/attachments/20051118/58c3656c/attachment.html 


More information about the tdwg-tag mailing list