From: Adam Dickmeiss Date: Fri, 1 Oct 2004 11:45:48 +0000 (+0000) Subject: Fixed MARC utilities to use proper conversion to XML CDATA for subfields, X-Git-Tag: YAZ.2.0.26~3 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=537450adf56c59b3f26ac9320cc6dd12b3ffdbb5 Fixed MARC utilities to use proper conversion to XML CDATA for subfields, tags, etc. to ensure validity of generated MARCXML records and others. --- diff --git a/src/marcdisp.c b/src/marcdisp.c index 38ac2ca..171e5a3 100644 --- a/src/marcdisp.c +++ b/src/marcdisp.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2004, Index Data * See the file LICENSE for details. * - * $Id: marcdisp.c,v 1.6 2004-08-07 08:07:00 adam Exp $ + * $Id: marcdisp.c,v 1.7 2004-10-01 11:45:48 adam Exp $ */ #if HAVE_CONFIG_H @@ -271,19 +271,25 @@ int yaz_marc_decode_wrbuf (yaz_marc_t mt, const char *buf, int bsize, WRBUF wr) wrbuf_puts (wr, " "); break; case YAZ_MARC_SIMPLEXML: - wrbuf_printf (wr, ""); break; case YAZ_MARC_OAIMARC: wrbuf_puts (wr, " "); break; case YAZ_MARC_MARCXML: wrbuf_puts (wr, " "); break; }