From e3c81b50bfe913fdf70c61141b3223611368c78c Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Sun, 17 Jun 2001 14:50:34 +0000 Subject: [PATCH] - tree.c: fixed xmlHasNsProp() accordingly to bug #55683 - doc/xml.html: updated with 2.3.11 Daniel --- ChangeLog | 5 +++++ doc/xml.html | 21 ++++++++++++++++++--- tree.c | 7 ++----- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0c2db2b5..6918f761 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jun 17 16:47:40 CEST 2001 Daniel Veillard + + * tree.c: fixed xmlHasNsProp() accordingly to bug #55683 + * doc/xml.html: updated with 2.3.11 + Sun Jun 17 12:24:11 CEST 2001 Daniel Veillard * TODO: updated adding cleanup of generated doc diff --git a/doc/xml.html b/doc/xml.html index 86d406e1..d6c621c7 100644 --- a/doc/xml.html +++ b/doc/xml.html @@ -1,5 +1,3 @@ - The XML C library for Gnome @@ -249,6 +247,23 @@ you want to test those

docs +

2.3.11: June 17 2001

+
    +
  • updates to trio, Makefiles and configure should fix some portability + problems (alpha)
  • +
  • fixed some HTML serialization problems (pre, script, and block/inline + handling), added encoding aware APIs, cleanup of this code
  • +
  • added xmlHasNsProp()
  • +
  • implemented a specific PI for encoding support in the DocBook SGML + parser
  • +
  • some XPath fixes (-Infinity, / as a function parameter and namespaces + node selection)
  • +
  • fixed a performance problem and an error in the validation code
  • +
  • fixed XInclude routine to implement the recursive behaviour
  • +
  • fixed xmlFreeNode problem when libxml is included statically twice
  • +
  • added --version to xmllint for bug reports
  • +
+

2.3.10: June 1 2001

  • fixed the SGML catalog support
  • @@ -1560,6 +1575,6 @@ Gnome CVS base under gnome-xml/example

    Daniel Veillard

    -

    $Id: xml.html,v 1.86 2001/06/05 20:57:42 veillard Exp $

    +

    $Id: xml.html,v 1.87 2001/06/09 16:58:47 veillard Exp $

    diff --git a/tree.c b/tree.c index 3858990b..3676a267 100644 --- a/tree.c +++ b/tree.c @@ -4300,11 +4300,8 @@ xmlHasNsProp(xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace) { * no namespace on the attribute and the element carrying it */ if ((xmlStrEqual(prop->name, name)) && - (((prop->ns == NULL) && (node->ns != NULL) && - (xmlStrEqual(node->ns->href, nameSpace))) || - ((prop->ns != NULL) && - (xmlStrEqual(prop->ns->href, nameSpace))))) { - return(prop); + ((prop->ns != NULL) && (xmlStrEqual(prop->ns->href, nameSpace)))) { + return(prop); } prop = prop->next; }