LISTSERV mailing list manager LISTSERV 16.0

Help for ZNG Archives


ZNG Archives

ZNG Archives


[email protected]


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

ZNG Home

ZNG Home

ZNG  August 2009

ZNG August 2009

Subject:

Re: [search-ws-comment] SRU 2.0 Draft Feedback

From:

"Ray Denenberg, Library of Congress" <[log in to unmask]>

Reply-To:

SRU (Search and Retrieve Via URL) Implementors

Date:

Fri, 14 Aug 2009 14:45:10 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (219 lines)

Tony, thanks much for the thorough review and comments.   Since I'm about to 
depart for a week I went through these quickly and joted down some 
preliminary responses.


> 1. Parameters / Elements
>
> I think it would help to break out Request Parameters from Response 
> Elements
> in Sects. 4, 6 and 7. The two sets are largely disjoint. (Same remark
> applies to the Abstract Protocol Definition.)

This is a reasonable suggestion but I am reluctant to do it, because the 
parameter and element descriptions are written in a more narrative than 
formal style and I think it is more descriptive this way. And for each 
parameter or element listed in the tables there is a link to the section 
where it is introduced, so the reader can read about it in greater context 
than if the formal approach had been taken.  I'd welcome other views on this 
though.


> Also might help to break out discussion of Facets into separate section 
> (as
> Diagnostics and Extensions), especially since Facets is an optional 
> feature.

I think it would be a good idea to allocate a separate section for facets - 
not because they are optional (most everything is) but because it probably 
deserves a separate section.


> I also think that Search Result Analysis is sufficiently specialized to
> warrant its own section.

Ok.


> Sect. 5 seems to be misplaced coming as it does in between Sect. 4 and
> Sects. 6 and 7.

Ok.


> 2. Parameter / Element Ordering
>
> Not clear what the basis is for the orderings given in Sect. 2 (Table 1) 
> and
> 3 (Table 6). Is it a logical ordering?

Yes, a logical ordering.  The order in which they are described in section 
4.


> I note that "echoedSearchRetrieveRequest" is differently located (at 
> bottom)
> from its location in the 1.* XSD schema. Is that intentional?

No,  no reason for that. Will re-evaluate ordering next draft.



> 3. Response Elements
>
> Response elements are given for a specific serialization - XML.
>
> Is that what is intended by binding? I would have thought binding would be
> to a specific data model (e.g. SRU) which can then be serialized various
> ways: native XML, ATOM, RSS, JSON, etc.

By "native XML" I assume you refer to the default schema (which is being 
registered as mime type application/sru+xml).
So the various ways you mention -  SRU, ATOM, RSS, JSON - the first three 
are all XML, all supported.  I don't think we've ever talked about  a 
non-xml serialization (e.g. JSON), but I think that would be a different 
binding.



> Also, heading in Sect. 3.1 is to "Actual Reponse Elements ..." and should 
> be
> "Reponse Elements ..." only. (Cf  Sect. 2.1 which is to "Request 
> Parameters
> ..." alone.)

That should all be fixed when we put back the parts we took out.


>
> 4. Response Elements: "resultSetIdentifier", "timeToLive", "idleTime"
>
> Mentioned in Sect 2, 3 and 4.10 the element "resultSetIdentifier" should 
> be
> "resultSetId" everywhere.

Yes.


> And in Sect 3, "timeToLive" and "idleTime" should be "resultSetTTL" and
> "resultSetIdleTime", respectively.

Ok.


> 5. Response Elements: "diagnostics"
>
> Probably don't need the "(non-surrogate)" in the name value field. Perhaps
> this could be footnoted in the table?

Ok.

> 6. Request Parameters: "httpAccept-*"
>
> I think these params are incorrectly named and should follow the standard
> camelcase style used elsewhere. e.g.
>
> Accept-Charset:             httpAccept-charset -> httpAcceptCharset
> Accept-Encoding:             httpAccept-encoding -> httpAcceptEncoding
> Accept-Language:             httpAccept-language -> httpAcceptLanguage
> Accept-Ranges:             httpAccept-ranges -> httpAcceptRanges
>
> Even though they mimic the HTTP headers they break naming convention.

Ok.


>
>
> 7. Request Parameters: "rendering"
>
> This is just a query. I wonder if the terms "client" / "server" would be
> more appropriate than "local" / "remote". It might be more correct to talk
> about "local" / "remote" but I always end up having to do a double take to
> figure out my relative position.

I would be fine with changing "local" / "remote"  to "client" / "server" but 
I would like to hear others' opinions.  We spend quite awhile talking about 
this; in the end I don't think it matters, but others might.


> 8. Request Parameters: recordSchema, sortKeys/sortSchema
>
> Both "recordSchema" and "SortKeys/sortSchema" allow for short names to be
> used in place of URIs. But the SRU registered short names [1] are not
> unique. E.g. "mods" is mapped to four different XML schema (3.0, 3.1, 3.2,
> 3.3) and likewise "pam" is ampped to two different XML schema (2.0, 2.1).

No, MODS is not mapped to any schema.  True, it's listed for several 
schemas, but as a preferred short name.  That only means that the owner of 
the schema recommends that short name,  but you still have to go to the 
explain file to find out what the short name is for a specific schema.  In 
the case where a server supports multiple version of, say, MODS, then it 
must use different short names, so it is not true that the preferred short 
name listed in the schema table must be used for a given schema.


> Also in Sect. 4.7.1 it says under sortSchema "the URI for an XML schema".
> What is meant though is the "short name" for an XML schema, which is a
> placeholder for the URI. And that is shown in the examples but needs 
> better
> explanation.

Ok.


> Still, the short name to URI mapping problem remains.
>
> [1] http://www.loc.gov/standards/sru/resources/schemas.html

There is no short name to URI mapping, that is there is no global mapping, 
only local mappings for a given server, and the mapping is in explain.  We 
do need a better explanation of this  within the schema page.


> 9. Response ID
>
> There is no ID returned in the response. If there are records then a
> "resultSetId" is returned but not otherwise. Some serializations (e.g. 
> ATOM)
> require an ID (actually a URI) for the response. One strategy would be to
> use the "resulSetId" as the basis for a unique ID, but this fails when no
> records are returned and a response is still required to carry the
> diagnostics.
>
> Is there some other place to return a unique response ID?

Is there a general use case for an id for the response, or is the concern 
only that a response id is required for certain serializations, ATOM, for 
example?  If it's the latter then I can't see that this is a problem. When 
ATOM is the response format it will contain an id (in the ATOM namespace) 
and the protocol does not need to deal with it.  Right?



> 10. Endpoints
>
> I would have preferred to see the "operation" parameter maintained so that
> "searchRetrieve" and "scan" could both be located on the same endpoint, 
> and
> an explicit choice be made between them. Heuristics could be applied but I
> think this is an unnecessary shorthand and may only lead to problems down
> the line. I would have made this parameter optional at the least.
>
> As regards version agree that it could be dispensed with although don;t 
> see
> any real harm in allowing for an optional parameter. Definitely not a
> required parameter.

I'm still hoping we can keep these two parameters out of the protocol but I 
agree that this merits further discussion.


>
> 11. Typos, etc
We'll correct all these.

Thanks.

--Ray

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

July 2017
October 2016
July 2016
August 2014
February 2014
December 2013
November 2013
October 2013
February 2013
January 2013
October 2012
August 2012
April 2012
January 2012
October 2011
May 2011
April 2011
November 2010
October 2010
September 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
October 2009
September 2009
August 2009
July 2009
May 2009
April 2009
March 2009
February 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001

ATOM RSS1 RSS2



LISTSERV.LOC.GOV

CataList Email List Search Powered by the LISTSERV Email List Manager