[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [search-ws-comment] XML namespace clarification
Hi Oliver - There are some inconsistencies in the way that the schemas reference one-another. One was reported a year or so ago and we are working on a defect report for that one. But your note has led me to discover at least a couple more. Having spent an hour or so trying to work through it, I find I'm going to need more time (a week or so). I wanted to get back to you so you wouldn't think we ignored your note, and I'll get back to you again as soon as I have this figured out. And thanks for catching this. Ray > -----Original Message----- > From: Oliver Schonefeld [mailto:schonefeld@ids-mannheim.de] > Sent: Monday, March 30, 2015 6:38 AM > To: search-ws-comment@lists.oasis-open.org > Subject: [search-ws-comment] 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 > > -- > This publicly archived list offers a means to provide input to the OASIS Search > Web Services TC. > > In order to verify user consent to the Feedback License terms and to > minimize spam in the list archive, subscription is required before posting. > > Subscribe: search-ws-comment-subscribe@lists.oasis-open.org > Unsubscribe: search-ws-comment-unsubscribe@lists.oasis-open.org > List help: search-ws-comment-help@lists.oasis-open.org > List archive: http://lists.oasis-open.org/archives/search-ws-comment/ > Feedback License: http://www.oasis- > open.org/who/ipr/feedback_license.pdf > List Guidelines: http://www.oasis-open.org/maillists/guidelines.php > Committee: http://www.oasis- > open.org/committees/tc_home.php?wg_abbrev=search-ws > Join OASIS: http://www.oasis-open.org/join/ |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]