projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7737ca
)
Sync spelling of availabilityDate in XML to that of Schema
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 Jan 2013 13:39:08 +0000
(14:39 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 Jan 2013 13:39:08 +0000
(14:39 +0100)
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.
src/opac_to_xml.c
patch
|
blob
|
history
diff --git
a/src/opac_to_xml.c
b/src/opac_to_xml.c
index
eb3fcdd
..
2e37091
100644
(file)
--- 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," <circulation>\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);