From: Adam Dickmeiss Date: Mon, 23 Feb 2004 12:12:25 +0000 (+0000) Subject: Use default namespace for SRW diagnostic elements X-Git-Tag: YAZ.2.0.13.2~4 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=d6fb3aa1d14381512225362ac585de1dd426ce1e;p=yaz-moved-to-github.git Use default namespace for SRW diagnostic elements --- diff --git a/CHANGELOG b/CHANGELOG index 78a3eab..d6b3d1e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ Possible compatibility problems with earlier versions marked with '*'. +Use default namespace for SRW diagnostic elements. + --- 2.0.13 2004/02/23 Implement ZOOM_resultset_cache_reset which resets record cache. diff --git a/src/srw.c b/src/srw.c index edb5741..07031c8 100644 --- a/src/srw.c +++ b/src/srw.c @@ -2,7 +2,7 @@ * Copyright (c) 2002-2004, Index Data. * See the file LICENSE for details. * - * $Id: srw.c,v 1.21 2004-02-14 15:58:42 adam Exp $ + * $Id: srw.c,v 1.22 2004-02-23 12:12:25 adam Exp $ */ #include @@ -318,7 +318,7 @@ static int yaz_srw_diagnostics(ODR o, xmlNodePtr pptr, Z_SRW_diagnostic **recs, { int i; xmlNsPtr ns_diag = - xmlNewNs(pptr, "http://www.loc.gov/zing/srw/diagnostics/", "diag"); + xmlNewNs(pptr, "http://www.loc.gov/zing/srw/diagnostics/", 0); for (i = 0; i < *num; i++) { const char *std_diag = "info:srw/diagnostic/1/";