From 537450adf56c59b3f26ac9320cc6dd12b3ffdbb5 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 1 Oct 2004 11:45:48 +0000 Subject: [PATCH] Fixed MARC utilities to use proper conversion to XML CDATA for subfields, tags, etc. to ensure validity of generated MARCXML records and others. --- src/marcdisp.c | 46 +++++++++++++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 17 deletions(-) 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; } -- 1.7.10.4