Happy new year
[yaz-moved-to-github.git] / src / xmlerror.c
index 70bd639..8f05274 100644 (file)
@@ -1,6 +1,6 @@
-/*
- * Copyright (C) 1995-2008, Index Data ApS
- * All rights reserved.
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2009 Index Data
+ * See the file LICENSE for details.
  */
 
 /** \file
@@ -46,11 +46,11 @@ void yaz_log_xml_errors(const char *prefix, int log_level)
 #if YAZ_HAVE_XML2
     xmlSetGenericErrorFunc((void *) (prefix ? prefix : "XML"),
                            xml_error_handler);
-#endif
 #if YAZ_HAVE_XSLT 
     xsltSetGenericErrorFunc((void *) (prefix ? prefix : "XSLT"),
                             xml_error_handler);
 #endif
+#endif
 }
 
 /*