> Date: Wed, 1 Jun 2005 14:56:17 +0200
> From: Theo van Veen <[log in to unmask]>
>
> Feedback on SRU 1.2 proposals:
Thanks for this, Theo.
> - For level 0 conformance I would prefer to let it be the clients
> responsibility not to send unsupported queries. Level 0 should lower
> the implementation barrier and the requirement that a diagnostic is
> returned for unsupported queries requires the query to be parsed
> only for the diagnostics and not for functionality.
No, that's not the intention. The idea is that all the server is
required to do is check that the query is a legitimate single-term
query (e.g. either contains no spaces and quotes, or is surrounded by
quotes with all internal quotes bashslash-escaped) -- and throw tyhe
"unsupported query" diagnostic if not. This can be done with a regexp
or two: the goal of Level Zero was specifically to make it possible
for servers to claim _some_ degree of SRW conformation without needing
a CQL parser.
> - I would prefer the exchoed request to be very strongly recommended
> to allow clients to rely on it. I found that the use of Mozilla
> extensions that support SRU queries can become quite powerful when
> some context information can be "stored" in the response via the
> echoed request data.
I have no feeling on this one way or the other.
> I have an additional proposal:
>
> I expect that the availability of recordSchema's can be record
> specific. An optional field indicating for a record the possible
> recordSchema's would allow the client to request the right
> recordSchema.
This sounds like an excellent candidate for an extension.
> As nextRecordPosition is eliminated the use of recordPosition should
> be recommended very strongly. Besides that it makes it easier for
> clients to handle situations that a record is skipped for example
> because it is not available in the right recordShcema.
Sounds reasonable enough to me. (Although of course servers may not
just omit records -- they must replace them with surrogate diagnostic
records.)
_/|_ ___________________________________________________________________
/o ) \/ Mike Taylor <[log in to unmask]> http://www.miketaylor.org.uk
)_v__/\ "_Apatosaurus_ sort of looks like a pro wrestler when most of
the other sauropods tend to look like ballerinas" -- Matt Wedel.
--
Listen to free demos of soundtrack music for film, TV and radio
http://www.pipedreaming.org.uk/soundtrack/
|