<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
A blank (as in just XML declaration) sounds good to me.<br>
<br>
Roger<br>
<br>
Steven Perry wrote:
<blockquote cite="mid437CC972.7000105@ku.edu" type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:tdwg-tapir@lists.tdwg.org">tdwg-tapir@lists.tdwg.org</a>
<a class="moz-txt-link-freetext" href="http://lists.tdwg.org/mailman/listinfo/tdwg-tapir_lists.tdwg.org">http://lists.tdwg.org/mailman/listinfo/tdwg-tapir_lists.tdwg.org</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
tdwg-tapir mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tdwg-tapir@lists.tdwg.org">tdwg-tapir@lists.tdwg.org</a>
<a class="moz-txt-link-freetext" href="http://lists.tdwg.org/mailman/listinfo/tdwg-tapir_lists.tdwg.org">http://lists.tdwg.org/mailman/listinfo/tdwg-tapir_lists.tdwg.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
-------------------------------------
Roger Hyam
Technical Architect
Taxonomic Databases Working Group
-------------------------------------
<a class="moz-txt-link-freetext" href="http://www.tdwg.org">http://www.tdwg.org</a>
<a class="moz-txt-link-abbreviated" href="mailto:roger@tdwg.org">roger@tdwg.org</a>
+44 1578 722782
-------------------------------------
</pre>
</body>
</html>