On Fri, 25 Jul 2003, Mike Taylor wrote:
> > From: Robert Sanderson <[log in to unmask]>
> > Some questions on Zeerex. The first two were incontrovertable, but
> > the ones below aren't immediately clear from our documentation.
> He asks some good questions!
Yes indeed!
> >> 3) The configInfo documentation is unclear if the <default>,
> >> <setting> or <supports> tag could be applied to any of the types;
> >> these as three mutually exclusive sets. My server will not be able
> >> to support caseSensitive=false searching for example. I'd like to
> > 3) That sounds sensible!
> > And we should make a note of it.
>
> Seems wrong to me. Though I admit I don't see a better way, with the
> current set of primitives, to express "this server can't do
> case-insensitive sorting". There are at least four possible
> approaches: (1) kludge it as he suggests; (2) augment the ZeeRex DTD
> to allow an explicit <doesntSupport> statement; (3) specify that in
> the absence of a <supports> tag, the client can assume that a facility
> is not supported; (4) get him to fix his server so it supports
> case-insensitive sorting, then the problem doesn't arise :-)
5) <supports value="false"> ... </supports>
1: I like it because it does what it says. Setting is something that
can't be changed, as opposed to a default. It just happens that this
particular setting is a boolean, but it's (extremely unlikely) possible it
could be a numeric setting.
2: Would rather have an attribute on supports that gives the truth value,
and the default for it would be true. But this doesn't fix the numeric
issue for things which are set, rather than not supported at all.
3: Urgh. We'd need to completely enumerate all the possibilities. ZeeRex
files would become Very long.
4: =)
> >> 4) The documentation is not clear whether <default
> >> type="indexSet">...</default> should contain the index schema
> >> identifer (http://www.loc.gov/zing/cql/bath-indexes/v1.0/) or the
> >> index schema name (bath).
> >
> > 4) The short form. (as we use the short form everywhere else apart
> > from the attribute that identifies the full URI)
>
> So, Rob, will you fix the document?
Yes. Though it'll need to wait for Ray to get back to actually update it.
Rob
--
,'/:. Dr Robert Sanderson ([log in to unmask])
,'-/::::. http://www.o-r-g.org/~azaroth/
,'--/::(@)::. Special Collections and Archives, extension 3142
,'---/::::::::::. Nebmedes: telnet: nebmedes.o-r-g.org 7777
____/:::::::::::::. WWW: http://nebmedes.o-r-g.org:8000/
I L L U M I N A T I
|