[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [search-ws-comment] SRU/CQL: clarification about fatal diagnostics
I hope that isn't an example from our spec below! That diagnostic is unrelated to explain and would only appear in a searchRetrieveResponse. Ralph -----Original Message----- From: Oliver Schonefeld [mailto:schonefeld@ids-mannheim.de] Sent: Thursday, June 14, 2012 10:56 AM To: Ray Denenberg, Library of Congress Cc: search-ws-comment@lists.oasis-open.org Subject: Re: [search-ws-comment] SRU/CQL: clarification about fatal diagnostics Hello Ray, Am 14.06.2012 16:40, schrieb Ray Denenberg, Library of Congress: > For the SRU case, see section 11 (of SRU 2.0) "Diagnostics". There are > surrogate and non-surrogate diagnostics, and there are fatal and non-fatal > diagnostics. But a fatal diagnostic (which is what we're talking about) is > always non-surrogate. Yes, I'm aware of surrogate and non-surrogate diagnostics. > Surrogate diagnostics go in <records>, non-surrogate in <diagnostics>, thus > fatal diagnostics go in <diagnostics>. Maybe the section in the spec could be a little improved, by extending the example in the specification and indicate the other XML elements, so people don't get the wrong impression to just return the <diagnostics> elements. (And additionally maybe indicate that, if the endpoint can know the operation, it can wrap it in the appropriate response element). " Non-surrogate, fatal diagnostic: <explainResponse xmlns="..."> <version>1.1</version> <record> ... </record> <diagnostics> <diagnostic xmlns="http://www.loc.gov/zing/srw/diagnostic/"> <uri>info:srw/diagnostic/1/38</uri> <details>10</details> <message>Too many boolean operators, the maximum is 10. Please try a less complex query.</message> </diagnostic> </diagnostics> </explainResponse> " Thank you and best regards, Oliver -- Oliver Schonefeld Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, D-68161 Mannheim +49-(0)621-1581-451 | http://www.ids-mannheim.de -- This publicly archived list offers a means to provide input to the OASIS Search Web Services TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: search-ws-comment-subscribe@lists.oasis-open.org Unsubscribe: search-ws-comment-unsubscribe@lists.oasis-open.org List help: search-ws-comment-help@lists.oasis-open.org List archive: http://lists.oasis-open.org/archives/search-ws-comment/ Feedback License: http://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: http://www.oasis-open.org/maillists/guidelines.php Committee: http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=search-ws Join OASIS: http://www.oasis-open.org/join/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]