/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
{
while (*ptr && (*ptr)->type != XML_ELEMENT_NODE)
(*ptr) = (*ptr)->next;
- if (*ptr && yaz_match_xsd_string_n_nmem(*ptr, elem, nmem, val, 0))
+ if (yaz_match_xsd_string_n_nmem(*ptr, elem, nmem, val, 0))
{
*ptr = (*ptr)->next;
return 1;
while (*ptr && (*ptr)->type != XML_ELEMENT_NODE)
(*ptr) = (*ptr)->next;
*val = nmem_booldup(nmem, 0);
- if (*ptr && yaz_match_xsd_element(*ptr, elem))
+ if (yaz_match_xsd_element(*ptr, elem))
{
struct _xmlAttr *attr = (*ptr)->properties;