fixed a stupid error breaking the python API Daniel
* python/generator.py python/libxml2class.txt: fixed a stupid error
breaking the python API
Daniel
diff --git a/python/generator.py b/python/generator.py
index ed3196d..a8a1b87 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -672,9 +672,9 @@
elif name[0:20] == "xmlParserInputBuffer" and file != "python":
func = name[20:]
func = string.lower(func[0:1]) + func[1:]
- elif name[0:9] == "xmlRegexp":
+ elif name[0:9] == "xmlRegexp" and file == "xmlregexp":
func = "regexp" + name[9:]
- elif name[0:6] == "xmlReg":
+ elif name[0:6] == "xmlReg" and file == "xmlregexp":
func = "regexp" + name[6:]
elif name[0:11] == "xmlACatalog":
func = name[11:]
diff --git a/python/libxml2class.txt b/python/libxml2class.txt
index 0340fb6..cae9a43 100644
--- a/python/libxml2class.txt
+++ b/python/libxml2class.txt
@@ -123,7 +123,7 @@
htmlCreatePushParser()
htmlSAXParseFile()
newNode()
-regexpisterErrorHandler()
+registerErrorHandler()
setEntityLoader()
# functions from module tree
@@ -158,9 +158,9 @@
iOHTTPMatch()
normalizeWindowsPath()
parserGetDirectory()
-regexpisterDefaultInputCallbacks()
-regexpisterDefaultOutputCallbacks()
-regexpisterHTTPPostCallbacks()
+registerDefaultInputCallbacks()
+registerDefaultOutputCallbacks()
+registerHTTPPostCallbacks()
# functions from module xmlregexp
regexpCompile()
@@ -734,7 +734,7 @@
setContextNode()
# functions from module python
- regexpisterXPathFunction()
+ registerXPathFunction()
# functions from module xpath
xpathEval()