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

 


Help: OASIS Mailing Lists Help | MarkMail Help

search-ws-comment message

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


Subject: XML namespace clarification


Hello search-ws-comment,

I'm trying to implement SRU 2.0 and am a little confused about the XML namespaces. I've downloaded the v1.0 specification documents from the OASIS website therefore I assume those are the effective specification documents.

The example in section 4.4 "Example Scan Response" of Part 6 (Scan) has "http://docs.oasis-open.org/ns/search-ws/sru-2-0-response"; for the XML namespace, while section 1.3 "Namespaces" of Part 0 (Overview) states that the namespace is supposed to be "http://docs.oasis-open.org/ns/search-ws/sruRequest";. The XML schema also has "http://docs.oasis-open.org/ns/search-ws/sruResponse";. Am I correct to assume that the namespace in example in Part 6 is is a typo and the correct one is the one from overview in Part 0?

A similar issue exists in section 11.3.1 "Non-Surrogate Example" of Part 3 (SRU 2.0) line 619: the example uses "info:srw/xmlns/1/sru-2-0-diagnostic", but Part 0 (Overview) states "http://docs.oasis-open.org/ns/search-ws/diagnostic";. Another one exists in section 14 "Echoed Request" of Part 3 (SRU 2.0) in line 837: the example has "info:srw/xmlns/1/xcql-2-0-v1" for the XML namespace of xcql, while section 1.3 "Namespaces" of Part 0 (Overview) states "http://docs.oasis-open.org/ns/search-ws/xcql";.

A different issue exists with Part 2 (SRU 1.2) of the spec: section 1.3 "Namespace" states "All XML namespaces for the set of documents in this collection are supplied in the Overview document: searchRetrieve: Part 0. Overview Version 1.0", thus e.g. the namespace for the sruResponse should be ""http://docs.oasis-open.org/ns/search-ws/sruRequest";. However, this would break backward-compatibility with exiting servcies, because the XML schemas that where published on the LOC website[1] for SRU 1.0. E.g. it had "http://www.loc.gov/zing/srw/"; for the target namespace for the SRU response.
Which namespaces shall a service that aims to implement SRU 1.2 use?

Thank you and best regards,
  Oliver

[1] http://www.loc.gov/standards/sru/xmlFiles/ (actually: specifically http://www.loc.gov/standards/sru/xmlFiles/srw-types.xsd)
--
Oliver Schonefeld
Institut für Deutsche Sprache, Zentrale Forschung
R5, 6-13, D-68161 Mannheim
+49-(0)621-1581-451 | http://www.ids-mannheim.de


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