OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

search-ws message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [search-ws] recordPacking: No Schema Change Required

> -----Original Message-----
> From: Ray Denenberg, Library of Congress [mailto:rden@loc.gov]
> recordPacking=looselyPacked&httpAccept=application/xyz
> I'm not opposed to adding this functionality. I just think that it
> the semantics of the recordPacking parameter too far. How about if we
> introduce another parameter, call it 'recordFormatting'.

I'm not sure that recordFormat is the right name.  This is not about how
records appear, but about the complete response.  I suggest that we call
it 'responseSchema'.  Its semantic is that it names the content to be

A problem with the new responseSchema parm is that its potential values
are constrained by the media-type that it is associated with.  We're
going to have to add a media-types section to Explain (necessary anyway)
and within that, list the responseSchemas available.  There will be an
implicit default text/xml media-type with a default value of
searchRetrieveResponse associated with SRU Explain records.

    <mediaType value="application/json">
        <responseSchema name="unpacked"
            <title>JSON with SRU record element data added</title>

I'm not going to be horrified to discover that we need to add
recordSchema as a sub-element of mediaType too.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]