mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-05-28 16:21:32 +03:00
* parserInternals.c: change a small bit in the way valididy error messages get initialized * python/TODO python/libxml.c python/libxml2-python-api.xml python/libxml2class.txt python/libxml_wrap.h python/types.c: added some memory debugging to track leaks at the libxml2 level * python/tests/*.py: changed all tests to check for leaks, there is just one left in XPath extension registrations. daniel
422 lines
7.4 KiB
Plaintext
422 lines
7.4 KiB
Plaintext
Generated Classes for libxml2-python
|
|
|
|
#
|
|
# Global functions of the module
|
|
#
|
|
|
|
|
|
# functions from module HTMLparser
|
|
htmlFreeParserCtxt()
|
|
htmlHandleOmittedElem()
|
|
htmlIsScriptAttribute()
|
|
htmlParseCharRef()
|
|
htmlParseChunk()
|
|
htmlParseDoc()
|
|
htmlParseElement()
|
|
htmlParseFile()
|
|
|
|
# functions from module HTMLtree
|
|
htmlNewDoc()
|
|
htmlNewDocNoDtD()
|
|
|
|
# functions from module catalog
|
|
catalogAdd()
|
|
catalogCleanup()
|
|
catalogConvert()
|
|
catalogGetPublic()
|
|
catalogGetSystem()
|
|
catalogRemove()
|
|
catalogResolve()
|
|
catalogResolvePublic()
|
|
catalogResolveSystem()
|
|
catalogResolveURI()
|
|
catalogSetDebug()
|
|
initializeCatalog()
|
|
loadCatalog()
|
|
loadCatalogs()
|
|
parseCatalogFile()
|
|
|
|
# functions from module debugXML
|
|
shellPrintXPathError()
|
|
|
|
# functions from module encoding
|
|
UTF8Strlen()
|
|
UTF8Strloc()
|
|
UTF8Strndup()
|
|
UTF8Strpos()
|
|
UTF8Strsize()
|
|
UTF8Strsub()
|
|
addEncodingAlias()
|
|
checkUTF8()
|
|
cleanupCharEncodingHandlers()
|
|
cleanupEncodingAliases()
|
|
delEncodingAlias()
|
|
encodingAlias()
|
|
initCharEncodingHandlers()
|
|
|
|
# functions from module entities
|
|
cleanupPredefinedEntities()
|
|
initializePredefinedEntities()
|
|
predefinedEntity()
|
|
|
|
# functions from module nanoftp
|
|
nanoFTPCleanup()
|
|
nanoFTPInit()
|
|
nanoFTPProxy()
|
|
nanoFTPScanProxy()
|
|
|
|
# functions from module nanohttp
|
|
nanoHTTPCleanup()
|
|
nanoHTTPInit()
|
|
nanoHTTPScanProxy()
|
|
|
|
# functions from module parser
|
|
cleanupParser()
|
|
createDocParserCtxt()
|
|
defaultSAXHandlerInit()
|
|
htmlDefaultSAXHandlerInit()
|
|
initParser()
|
|
keepBlanksDefault()
|
|
lineNumbersDefault()
|
|
parseDTD()
|
|
parseDoc()
|
|
parseEntity()
|
|
parseFile()
|
|
parseMemory()
|
|
pedanticParserDefault()
|
|
recoverDoc()
|
|
recoverFile()
|
|
recoverMemory()
|
|
substituteEntitiesDefault()
|
|
|
|
# functions from module parserInternals
|
|
checkLanguageID()
|
|
copyChar()
|
|
copyCharMultiByte()
|
|
createEntityParserCtxt()
|
|
createFileParserCtxt()
|
|
createMemoryParserCtxt()
|
|
htmlCreateFileParserCtxt()
|
|
htmlInitAutoClose()
|
|
isBaseChar()
|
|
isBlank()
|
|
isChar()
|
|
isCombining()
|
|
isDigit()
|
|
isExtender()
|
|
isIdeographic()
|
|
isLetter()
|
|
isPubidChar()
|
|
namePop()
|
|
namePush()
|
|
newParserCtxt()
|
|
nodePop()
|
|
nodePush()
|
|
|
|
# functions from module python
|
|
createPushParser()
|
|
debugMemory()
|
|
dumpMemory()
|
|
htmlCreatePushParser()
|
|
registerErrorHandler()
|
|
|
|
# functions from module tree
|
|
compressMode()
|
|
newComment()
|
|
newDoc()
|
|
newPI()
|
|
newText()
|
|
newTextLen()
|
|
setCompressMode()
|
|
|
|
# functions from module uri
|
|
URIEscape()
|
|
URIEscapeStr()
|
|
URIUnescapeString()
|
|
buildURI()
|
|
normalizeURIPath()
|
|
|
|
# functions from module xmlIO
|
|
cleanupInputCallbacks()
|
|
cleanupOutputCallbacks()
|
|
parserGetDirectory()
|
|
registerDefaultInputCallbacks()
|
|
registerDefaultOutputCallbacks()
|
|
registerHTTPPostCallbacks()
|
|
|
|
# functions from module xmlversion
|
|
checkVersion()
|
|
|
|
|
|
#
|
|
# Set of classes of the module
|
|
#
|
|
|
|
|
|
|
|
Class xmlNode(xmlCore)
|
|
|
|
# functions from module debugXML
|
|
lsCountNode()
|
|
shellPrintNode()
|
|
|
|
# functions from module tree
|
|
addChild()
|
|
addChildList()
|
|
addContent()
|
|
addContentLen()
|
|
addNextSibling()
|
|
addPrevSibling()
|
|
addSibling()
|
|
copyNode()
|
|
copyNodeList()
|
|
copyProp()
|
|
copyPropList()
|
|
docCopyNode()
|
|
docSetRootElement()
|
|
freeNode()
|
|
freeNodeList()
|
|
getBase()
|
|
getContent()
|
|
getLang()
|
|
getSpacePreserve()
|
|
hasNsProp()
|
|
hasProp()
|
|
isBlankNode()
|
|
isText()
|
|
lastChild()
|
|
lineNo()
|
|
listGetRawString()
|
|
listGetString()
|
|
newChild()
|
|
newNs()
|
|
newNsProp()
|
|
newProp()
|
|
newTextChild()
|
|
nodePath()
|
|
nsProp()
|
|
prop()
|
|
reconciliateNs()
|
|
replaceNode()
|
|
searchNs()
|
|
searchNsByHref()
|
|
setBase()
|
|
setContent()
|
|
setContentLen()
|
|
setLang()
|
|
setListDoc()
|
|
setName()
|
|
setNs()
|
|
setNsProp()
|
|
setProp()
|
|
setSpacePreserve()
|
|
setTreeDoc()
|
|
textConcat()
|
|
textMerge()
|
|
unlinkNode()
|
|
unsetNsProp()
|
|
unsetProp()
|
|
|
|
# functions from module valid
|
|
isID()
|
|
isRef()
|
|
validNormalizeAttributeValue()
|
|
|
|
# functions from module xpath
|
|
xpathCastNodeToNumber()
|
|
xpathCastNodeToString()
|
|
xpathCmpNodes()
|
|
|
|
# functions from module xpathInternals
|
|
xpathNewNodeSet()
|
|
xpathNewValueTree()
|
|
|
|
|
|
Class xmlDoc(xmlNode)
|
|
|
|
# functions from module HTMLparser
|
|
htmlAutoCloseTag()
|
|
htmlIsAutoClosed()
|
|
|
|
# functions from module HTMLtree
|
|
htmlGetMetaEncoding()
|
|
htmlSaveFile()
|
|
htmlSaveFileEnc()
|
|
htmlSaveFileFormat()
|
|
htmlSetMetaEncoding()
|
|
|
|
# functions from module entities
|
|
addDocEntity()
|
|
addDtdEntity()
|
|
docEntity()
|
|
dtdEntity()
|
|
encodeEntities()
|
|
encodeEntitiesReentrant()
|
|
encodeSpecialChars()
|
|
parameterEntity()
|
|
|
|
# functions from module tree
|
|
copyDoc()
|
|
createIntSubset()
|
|
docCompressMode()
|
|
freeDoc()
|
|
getRootElement()
|
|
intSubset()
|
|
newCDataBlock()
|
|
newCharRef()
|
|
newDocComment()
|
|
newDocFragment()
|
|
newDocNode()
|
|
newDocProp()
|
|
newDocRawNode()
|
|
newDocText()
|
|
newDocTextLen()
|
|
newDtd()
|
|
newGlobalNs()
|
|
newReference()
|
|
saveFile()
|
|
saveFileEnc()
|
|
saveFormatFile()
|
|
saveFormatFileEnc()
|
|
setDocCompressMode()
|
|
stringGetNodeList()
|
|
stringLenGetNodeList()
|
|
|
|
# functions from module valid
|
|
ID()
|
|
isMixedElement()
|
|
removeID()
|
|
removeRef()
|
|
|
|
# functions from module xinclude
|
|
xincludeProcess()
|
|
|
|
# functions from module xpathInternals
|
|
xpathNewContext()
|
|
|
|
|
|
Class xmlEntity(xmlNode)
|
|
|
|
|
|
Class xmlNs(xmlNode)
|
|
|
|
# functions from module tree
|
|
copyNamespace()
|
|
copyNamespaceList()
|
|
freeNs()
|
|
freeNsList()
|
|
newNode()
|
|
|
|
|
|
Class xmlAttr(xmlNode)
|
|
|
|
# functions from module tree
|
|
freeProp()
|
|
freePropList()
|
|
removeProp()
|
|
|
|
|
|
Class xmlAttribute(xmlNode)
|
|
|
|
|
|
Class xmlDtd(xmlNode)
|
|
|
|
# functions from module tree
|
|
copyDtd()
|
|
freeDtd()
|
|
|
|
# functions from module valid
|
|
dtdAttrDesc()
|
|
dtdElementDesc()
|
|
dtdQAttrDesc()
|
|
dtdQElementDesc()
|
|
|
|
|
|
Class xmlElement(xmlNode)
|
|
Class parserCtxt()
|
|
# accessors
|
|
doc()
|
|
isValid()
|
|
lineNumbers()
|
|
loadSubset()
|
|
pedantic()
|
|
replaceEntities()
|
|
validate()
|
|
wellFormed()
|
|
|
|
# functions from module parser
|
|
clearParserCtxt()
|
|
initParserCtxt()
|
|
parseChunk()
|
|
parseDocument()
|
|
parseExtParsedEnt()
|
|
stopParser()
|
|
|
|
# functions from module parserInternals
|
|
decodeEntities()
|
|
freeParserCtxt()
|
|
handleEntity()
|
|
namespaceParseNCName()
|
|
namespaceParseNSDef()
|
|
nextChar()
|
|
parseAttValue()
|
|
parseAttributeListDecl()
|
|
parseCDSect()
|
|
parseCharData()
|
|
parseCharRef()
|
|
parseComment()
|
|
parseContent()
|
|
parseDocTypeDecl()
|
|
parseElement()
|
|
parseElementDecl()
|
|
parseEncName()
|
|
parseEncodingDecl()
|
|
parseEndTag()
|
|
parseEntityDecl()
|
|
parseEntityRef()
|
|
parseExternalSubset()
|
|
parseMarkupDecl()
|
|
parseMisc()
|
|
parseName()
|
|
parseNamespace()
|
|
parseNmtoken()
|
|
parseNotationDecl()
|
|
parsePEReference()
|
|
parsePI()
|
|
parsePITarget()
|
|
parsePubidLiteral()
|
|
parseQuotedString()
|
|
parseReference()
|
|
parseSDDecl()
|
|
parseStartTag()
|
|
parseSystemLiteral()
|
|
parseTextDecl()
|
|
parseVersionInfo()
|
|
parseVersionNum()
|
|
parseXMLDecl()
|
|
parserHandlePEReference()
|
|
parserHandleReference()
|
|
popInput()
|
|
scanName()
|
|
skipBlankChars()
|
|
stringDecodeEntities()
|
|
Class xpathContext()
|
|
|
|
# functions from module python
|
|
registerXPathFunction()
|
|
|
|
# functions from module xpath
|
|
xpathEval()
|
|
xpathEvalExpression()
|
|
|
|
# functions from module xpathInternals
|
|
xpathFreeContext()
|
|
xpathNsLookup()
|
|
xpathRegisterAllFunctions()
|
|
xpathRegisterNs()
|
|
xpathRegisteredFuncsCleanup()
|
|
xpathRegisteredNsCleanup()
|
|
xpathRegisteredVariablesCleanup()
|
|
xpathVariableLookup()
|
|
xpathVariableLookupNS()
|