r63 - 09 Jan 2007 - 00:00:00 - MoinMoin?You are here: TWiki > TAPIR Web > SecondProposal
Second proposal
General strategy
To eliminate all DifferencesBetweenProtocols, by either adopting the approach used by one of them, or by suggesting a new approach. This should be mainly a straightforward and conservative proposal, although new features could be added.
removing the optional attribute "resource" in both "source" and "destination" elements (affects DiGIR?). (open issue)
changing the "version" element to multiple "software" elements (with attributes "name" and "version"). "Software" could have multiple occurrences (related to provider, portal, indexer, client, etc), and each "software" could have "components" as subelements (also with name and version). This could be important not only for debugging and logging, but mainly for determining which protocols are supported by a provider (affects both - related to new BioCASE? proposal). (move this to capabilities SecondProposal diagnostics in case of error)
allowing multiple "source" elements to be able to track each address in the process, and incorporating the "sendTime" element as an attribute of "source" (affects both - related to new BioCASE? proposal).
*Pending issue: *should we remove the "type" element and only use the immediate element after "header" to determine the type of requests/responses?
Including a list of conceptual schemas being used (and all mapped concepts).
Including a list of request methods supported.
Including a list of local configurations (minQueryTermLength, maxSearchResponseRecords, maxInventoryResponseRecords). *Pending issue: *should the possible configuration names be defined inside the protocol or should we use a generic element for that?
Allowing 3 subtypes of searches (which could be supported or not by the providers): * A FullDocumentSearch that just references an XML schema defining the concepts involved, how they should be structured in the response, and what are the mandatory concepts (affects DiGIR?). * A PartialDocumentSearch that references one or more concepts from a generic XML schema. The schema specifies the structure, and all mandatory concepts from the schema should be returned too (affects DiGIR? and BioCASE?). * A CustomDocumentSearch based on a ResponseStructure (affects BioCASE?).
Allowing element/attribute name specification to appear in responses (including prefix).
Allowing use of concepts from different schemas in the same structure.
Allowing record definitions in the record structure (for count and paging purposes).
*Pending issue: *could we somehow deal with recursive relationships between concepts, i.e. unlimited depth nesting? (SDD seems to use that)
*Pending issue: *should we try to allow the specification of data dictionaries so that elements in the response could reference entries in thess dictionaries and avoid value repetition? (SDD seems to use this approach)