Decode SRU 2.0 responses
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 8 Aug 2012 12:53:22 +0000 (14:53 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 8 Aug 2012 12:57:22 +0000 (14:57 +0200)
commit2bf750fa7a6e28d9ebb1fabd6325ecf4cfac7e49
treec6def648d5b1644b552c41a70e24bada4c4e8d7b
parent430e6549acad5c87e110a9484c1e0302420c9588
Decode SRU 2.0 responses

The official namespace for responses, according to
http://docs.oasis-open.org/search-ws/searchRetrieve/v1.0/cs01/schemas/sruResponse.xsd
appears to be http://docs.oasis-open.org/ns/search-ws/sruResponse .
nature.com's server, however, usee namespace
http://docs.oasis-open.org/ns/search-ws/sru-2-0-response
For this reason we are now using a glob-expr to match up the namespace.
ZOOM C and yaz-client updated.
Perhaps SRU 1.2 uses same namespace, I don't know. I can not find
a single real example showing the "real" namespace in the documentation
from OASIS. The namespace for requests is different from responses, but
this is not added to YAZ yet, when we don't encode them yet.
client/client.c
include/yaz/srw.h
src/soap.c
src/zoom-sru.c