From: Adam Dickmeiss Date: Tue, 29 Jan 2013 13:39:08 +0000 (+0100) Subject: Sync spelling of availabilityDate in XML to that of Schema X-Git-Tag: v4.2.50~7 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=d0ef47f9201e7316a04f8b1c9d8e7799d9eb8d8a Sync spelling of availabilityDate in XML to that of Schema The opacxml.xsd had the correct spelling of this member always. The ASN.1 was mis-spelled and still is (API change) - we are not changing this by this. However, the OPAC to XML conversion had yet *another* typo. This is fixed by this commit. --- diff --git a/src/opac_to_xml.c b/src/opac_to_xml.c index eb3fcdd..2e37091 100644 --- a/src/opac_to_xml.c +++ b/src/opac_to_xml.c @@ -156,7 +156,7 @@ void yaz_opac_decode_wrbuf2(yaz_marc_t mt, Z_OPACRecord *r, WRBUF wrbuf, wrbuf_puts(wrbuf," \n"); opac_element_bool(wrbuf, 4, "availableNow", d->circulationData[j]->availableNow); - opac_element_str(wrbuf, cd1, cd2, 4, "availabiltyDate", + opac_element_str(wrbuf, cd1, cd2, 4, "availabilityDate", d->circulationData[j]->availablityDate); opac_element_str(wrbuf, cd1, cd2, 4, "availableThru", d->circulationData[j]->availableThru);