Update NS for SRW diagnostic elements.
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 23 Feb 2004 12:57:19 +0000 (12:57 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 23 Feb 2004 12:57:19 +0000 (12:57 +0000)
src/srw.c

index 07031c8..7f57149 100644 (file)
--- 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.22 2004-02-23 12:12:25 adam Exp $
+ * $Id: srw.c,v 1.23 2004-02-23 12:57:19 adam Exp $
  */
 
 #include <yaz/srw.h>
@@ -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/", 0);
+           xmlNewNs(pptr, "info:srw/schema/1/diagnostic-v1.1", 0);
         for (i = 0; i < *num; i++)
         {
            const char *std_diag = "info:srw/diagnostic/1/";