From 22eda2bc82acd047247df3f88aa9a5ab08d6a434 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 1 Aug 2005 05:20:16 +0000 Subject: [PATCH] applied fix from Jakub Piotr Clapa for xmlAttr.parent(), closing #312181 * python/libxml.c: applied fix from Jakub Piotr Clapa for xmlAttr.parent(), closing #312181 Daniel --- ChangeLog | 5 +++++ python/libxml.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2d5a50a9..8431cfe2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 1 07:18:53 CEST 2005 Daniel Veillard + + * python/libxml.c: applied fix from Jakub Piotr Clapa for + xmlAttr.parent(), closing #312181 + Sun Jul 31 18:48:55 CEST 2005 Daniel Veillard * schematron.c: report improvement diff --git a/python/libxml.c b/python/libxml.c index 8ed74bbf..ad8ac7c6 100644 --- a/python/libxml.c +++ b/python/libxml.c @@ -2533,6 +2533,7 @@ libxml_parent(ATTRIBUTE_UNUSED PyObject * self, PyObject * args) res = attr->parent; } + break; case XML_ENTITY_DECL: case XML_NAMESPACE_DECL: case XML_XINCLUDE_START: