From dbbcf8e14a0f566a65fea0d9d7bbf30e9f499f70 Mon Sep 17 00:00:00 2001 From: "William M. Brack" Date: Fri, 17 Dec 2004 22:50:53 +0000 Subject: [PATCH] modified to allow the ns and nsDefs accessors to return None instead of * python/generator.py: modified to allow the ns and nsDefs accessors to return None instead of error when no namespace is present (bug #) --- ChangeLog | 6 ++++++ python/generator.py | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index a878b970..fb025fe6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri Dec 17 14:52:17 PST 2004 William Brack + + * python/generator.py: modified to allow the ns and nsDefs + accessors to return None instead of error when no namespace + is present (bug #) + Fri Dec 17 11:40:21 PST 2004 William Brack * doc/Makefile.am: changed maintainer-clean dependency with diff --git a/python/generator.py b/python/generator.py index 60320652..6f5ee09b 100755 --- a/python/generator.py +++ b/python/generator.py @@ -735,6 +735,8 @@ functions_noexcept = { "xmlHasProp": 1, "xmlHasNsProp": 1, "xmlDocSetRootElement": 1, + "xmlNodeGetNs": 1, + "xmlNodeGetNsDefs": 1, } reference_keepers = {