From f51dd67f3a3f472af0620391eb588eeca4533689 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 11 Nov 2004 12:53:54 +0000 Subject: Load /tmp/tmp.n9GTkp/libxml2-2.6.16 into packages/libxml2/branches/upstream/current. --- doc/APIchunk10.html | 6 +++- doc/APIchunk11.html | 1 + doc/APIchunk12.html | 2 ++ doc/APIchunk13.html | 5 +++ doc/APIchunk14.html | 3 +- doc/APIchunk15.html | 21 ------------- doc/APIchunk16.html | 1 + doc/APIchunk21.html | 3 +- doc/APIchunk22.html | 2 ++ doc/APIchunk25.html | 2 ++ doc/APIchunk26.html | 4 +++ doc/APIchunk3.html | 1 + doc/APIchunk4.html | 3 +- doc/APIchunk5.html | 1 + doc/APIchunk6.html | 4 ++- doc/APIchunk8.html | 5 +++ doc/APIchunk9.html | 4 +++ doc/APIconstructors.html | 2 +- doc/APIfiles.html | 8 ++++- doc/APIsymbols.html | 6 ++++ doc/apibuild.py | 1 + doc/examples/examples.xml | 4 +-- doc/examples/reader3.c | 4 +-- doc/examples/testWriter.c | 4 +-- doc/examples/tree1.c | 4 +-- doc/html/libxml-list.html | 4 +-- doc/html/libxml-nanoftp.html | 12 +++---- doc/html/libxml-relaxng.html | 5 ++- doc/html/libxml-tree.html | 4 +-- doc/html/libxml-valid.html | 6 ++-- doc/html/libxml-xmlIO.html | 2 +- doc/html/libxml-xmlerror.html | 1 + doc/html/libxml-xmlmemory.html | 5 ++- doc/html/libxml-xmlstring.html | 6 ++-- doc/html/libxml-xmlwriter.html | 4 +-- doc/html/libxml-xpath.html | 1 + doc/libxml2-api.xml | 71 ++++++++++++++++++++++++++++++++---------- doc/libxml2.xsa | 29 ++++++++++------- doc/news.html | 12 ++++++- doc/xml.html | 16 +++++++++- doc/xmllint.1 | 2 +- doc/xmllint.xml | 3 +- 42 files changed, 196 insertions(+), 88 deletions(-) (limited to 'doc') diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html index c5625ef..65f6f7b 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html @@ -45,9 +45,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlInitializePredefinedEntities
xmlNanoFTPRead
xmlNanoHTTPRead
+xmlNewTextWriter
+xmlNewTextWriterPushParser
xmlParseReference
xmlSAXUserParseFile
xmlSAXUserParseMemory
+xmlSaveFileTo
xmlSaveFormatFileTo
xmlSetEntityReferenceFunc
xmlTextReaderCurrentDoc
@@ -290,10 +293,10 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSaveToIO
xmlTextReaderClose
closed
xmlCtxtReadFd
+xmlNewTextWriter
xmlReadFd
xmlReaderForFd
xmlReaderNewFd
-xmlSaveFormatFileTo
xmlTextWriterEndDocument
closes
xmlNanoHTTPClose
xmlNanoHTTPSave
@@ -795,6 +798,7 @@ A:link, A:visited, A:active { text-decoration: underline }
cur
xmlXPathAxisFunc
currently
XML_SCHEMAS_INCLUDING_CONVERT_NS
xmlGcMemGet
+xmlMemBlocks
xmlMemGet
xmlMemUsed
xmlOutputBufferCreateFilename
diff --git a/doc/APIchunk11.html b/doc/APIchunk11.html index e24a542..ef399a3 100644 --- a/doc/APIchunk11.html +++ b/doc/APIchunk11.html @@ -54,6 +54,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlEncodeSpecialChars
xmlGetFeaturesList
xmlHashFree
+xmlNewTextWriter
xmlSaveUri
xmlTextReaderConstBaseUri
xmlTextReaderConstEncoding
diff --git a/doc/APIchunk12.html b/doc/APIchunk12.html index 030c8f7..2e5756f 100644 --- a/doc/APIchunk12.html +++ b/doc/APIchunk12.html @@ -100,6 +100,8 @@ A:link, A:visited, A:active { text-decoration: underline } isolat1ToUTF8
xmlCharEncodingInputFunc
xmlCharEncodingOutputFunc
+
embedded
XML_CTXT_FINISH_DTD_0
+XML_CTXT_FINISH_DTD_1
emitted
xmlSetGenericErrorFunc
empty-element
xmlParseStartTag
enable
xmlCatalogSetDebug
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html index 19d36a9..8b5c459 100644 --- a/doc/APIchunk13.html +++ b/doc/APIchunk13.html @@ -89,6 +89,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDocDump
xmlDocFormatDump
xmlFileOpen
+xmlFileRead
xmlListAppend
xmlListInsert
xmlNanoHTTPFetch
@@ -141,6 +142,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCreatePushParserCtxt
xmlUTF8Strpos
field
XML_COMPLETE_ATTRS
+XML_CTXT_FINISH_DTD_0
+XML_CTXT_FINISH_DTD_1
XML_DETECT_IDS
XML_SKIP_IDS
xmlParseMisc
@@ -182,6 +185,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNanoHTTPScanProxy
finds
xmlSearchNs
xmlSearchNsByHref
+
finishDtd
XML_CTXT_FINISH_DTD_0
+XML_CTXT_FINISH_DTD_1
finished
_xmlValidCtxt
xmlCleanupParser
xmlSkipBlankChars
diff --git a/doc/APIchunk14.html b/doc/APIchunk14.html index 11e6f70..c31732d 100644 --- a/doc/APIchunk14.html +++ b/doc/APIchunk14.html @@ -35,7 +35,8 @@ A:link, A:visited, A:active { text-decoration: underline } w-w x-x y-z -

Letter g:

garbage
xmlGcMemGet
+

Letter g:

garanteed
xmlUTF8Strsize
+
garbage
xmlGcMemGet
xmlGcMemSetup
genChRanges
xmlIsBaseCharQ
xmlIsBaseChar_ch
diff --git a/doc/APIchunk15.html b/doc/APIchunk15.html index 31bb8f1..41093c0 100644 --- a/doc/APIchunk15.html +++ b/doc/APIchunk15.html @@ -395,27 +395,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewPI
xmlSAX2ProcessingInstruction
insufficient
xmlCanonicPath
-
int
_xmlParserCtxt
-c
-getColumnNumber
-getLineNumber
-htmlHandleOmittedElem
-htmlParseCharRef
-xmlIsLetter
-xmlKeepBlanksDefault
-xmlLineNumbersDefault
-xmlMallocAtomicLoc
-xmlMallocLoc
-xmlMemUsed
-xmlParseCharData
-xmlParseCharRef
-xmlPedanticParserDefault
-xmlReallocLoc
-xmlSAX2GetColumnNumber
-xmlSAX2GetLineNumber
-xmlShellCmd
-xmlSplitQName3
-xmlSubstituteEntitiesDefault
integer
xmlStrcasecmp
xmlStrcmp
xmlStrncasecmp
diff --git a/doc/APIchunk16.html b/doc/APIchunk16.html index 214b8e1..bfea7cf 100644 --- a/doc/APIchunk16.html +++ b/doc/APIchunk16.html @@ -188,6 +188,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidateQName
lib
xmlCheckVersion
libc
DEBUG_MEMORY
+
libraries
xmlRelaxNGInitTypes
library
_xmlError
_xmlSchema
xmlCleanupParser
diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html index 13d61f5..e36896a 100644 --- a/doc/APIchunk21.html +++ b/doc/APIchunk21.html @@ -399,7 +399,8 @@ A:link, A:visited, A:active { text-decoration: underline }
represented
xmlParseCharData
xmlXPathStringFunction
represented:
_htmlElemDesc
-
representing
xmlMemUsed
+
representing
xmlMemBlocks
+xmlMemUsed
request
xmlIOHTTPOpenW
xmlNanoHTTPMethod
xmlNanoHTTPMethodRedir
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html index 175b72e..0765be4 100644 --- a/doc/APIchunk22.html +++ b/doc/APIchunk22.html @@ -723,6 +723,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXIncludeProcessNode
xmlXIncludeProcessTree
xmlXIncludeProcessTreeFlags
+
succeed
xmlNewTextWriter
succeeded
xmlHashAddEntry
xmlHashAddEntry2
xmlHashAddEntry3
@@ -734,6 +735,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHashUpdateEntry3
xmlXPathCompareValues
succeeds
xmlCheckFilename
+xmlNewTextWriterPushParser
successful
xmlACatalogAdd
xmlACatalogRemove
xmlBufferAdd
diff --git a/doc/APIchunk25.html b/doc/APIchunk25.html index 4aa21d1..ac3ff8b 100644 --- a/doc/APIchunk25.html +++ b/doc/APIchunk25.html @@ -243,6 +243,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSaveToIO
xmlShellWrite
writer
xmlFreeTextWriter
+xmlNewTextWriter
+xmlNewTextWriterPushParser
writes
xmlBufferWriteQuotedString
xmlOutputBufferWrite
xmlOutputBufferWriteEscape
diff --git a/doc/APIchunk26.html b/doc/APIchunk26.html index bfde6d1..7f88fd3 100644 --- a/doc/APIchunk26.html +++ b/doc/APIchunk26.html @@ -278,6 +278,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCopyNamespace
xmlCopyNamespaceList
xmlGetNsList
+
xmlOutputBufferClose
xmlSaveFileTo
+xmlSaveFormatFileTo
xmlOutputBufferPtr
xmlNewTextWriter
xmlOutputCloseCallback
xmlRegisterOutputCallbacks
xmlOutputMatchCallback
xmlRegisterOutputCallbacks
@@ -292,6 +294,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParseFile
xmlParseCatalogFile
xmlParseNamespace:
xmlParseNamespace
xmlParseURI
xmlURIEscape
+
xmlParserCtxt
XML_CTXT_FINISH_DTD_0
+XML_CTXT_FINISH_DTD_1
xmlParserCtxtPtr
xmlNewParserCtxt
xmlNewTextWriterPushParser
xmlParserError
_xmlError
diff --git a/doc/APIchunk3.html b/doc/APIchunk3.html index 5849049..0ac8f21 100644 --- a/doc/APIchunk3.html +++ b/doc/APIchunk3.html @@ -308,6 +308,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathRoot
Initially
xmlSubstituteEntitiesDefault
Initiate
xmlNanoFTPGetSocket
+
Initilize
xmlRelaxNGInitTypes
Input
_xmlParserCtxt
xmlIOParseDTD
xmlInputCloseCallback
diff --git a/doc/APIchunk4.html b/doc/APIchunk4.html index 6558fd0..f830b7b 100644 --- a/doc/APIchunk4.html +++ b/doc/APIchunk4.html @@ -197,10 +197,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewDocNode
xmlNewDocNodeEatName
xmlNewTextChild
+xmlNewTextWriter
+xmlNewTextWriterPushParser
xmlParseExternalID
xmlParsePEReference
xmlParserHandlePEReference
-xmlSaveFormatFileTo
xmlTextReaderCurrentDoc
NRK
_htmlElemDesc
NSDef
xmlNamespaceParseNSDef
diff --git a/doc/APIchunk5.html b/doc/APIchunk5.html index dbed0af..d3cc136 100644 --- a/doc/APIchunk5.html +++ b/doc/APIchunk5.html @@ -190,6 +190,7 @@ A:link, A:visited, A:active { text-decoration: underline }
Provides
getPublicId
getSystemId
xmlGcMemGet
+xmlMemBlocks
xmlMemGet
xmlMemUsed
xmlNanoHTTPContentLength
diff --git a/doc/APIchunk6.html b/doc/APIchunk6.html index a760e36..668cd2d 100644 --- a/doc/APIchunk6.html +++ b/doc/APIchunk6.html @@ -440,7 +440,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNodeSetSort
SpacingModifierLetters
xmlUCSIsSpacingModifierLetters
Spec
xmlParseStartTag
-
Special
XML_SAX2_MAGIC
+
Special
XML_CTXT_FINISH_DTD_0
+XML_CTXT_FINISH_DTD_1
+XML_SAX2_MAGIC
Specials
xmlUCSIsSpecials
Speed
_xmlParserCtxt
Standalone
xmlParseSDDecl
diff --git a/doc/APIchunk8.html b/doc/APIchunk8.html index 443d438..4287db3 100644 --- a/doc/APIchunk8.html +++ b/doc/APIchunk8.html @@ -85,6 +85,8 @@ A:link, A:visited, A:active { text-decoration: underline }
WWW-Authenticate
xmlNanoHTTPAuthHeader
Walk
xmlListReverseWalk
xmlListWalk
+
Warning
xmlSaveFileTo
+xmlSaveFormatFileTo
Was
_xmlParserInput
Well
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
@@ -397,6 +399,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNanoFTPFreeCtxt
xmlNanoFTPGetResponse
xmlReconciliateNs
+xmlSaveFileTo
+xmlSaveFormatFileTo
xmlValidGetValidElements
xmlXPathNextFollowing
xmlXPathStringFunction
@@ -637,6 +641,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReallocLoc
areas
xmlGcMemGet
xmlGcMemSetup
+xmlMemBlocks
xmlMemShow
args
CHECK_ARITY
x
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html index 7a05689..29a0da4 100644 --- a/doc/APIchunk9.html +++ b/doc/APIchunk9.html @@ -121,6 +121,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNodeSetSpacePreserve
xmlSAX2ResolveEntity
xmlTextReaderSetParserProp
+xmlUTF8Strsize
below
_xmlParserCtxt
xmlParseExternalID
better
resolveEntity
@@ -162,6 +163,7 @@ A:link, A:visited, A:active { text-decoration: underline } initdocbDefaultSAXHandler
inithtmlDefaultSAXHandler
initxmlDefaultSAXHandler
+xmlMemBlocks
xmlMemDisplay
xmlMemoryDump
book1
xmlBuildRelativeURI
@@ -186,6 +188,8 @@ A:link, A:visited, A:active { text-decoration: underline }
breaks
xmlCurrentChar
broken
xmlParseBalancedChunkMemoryRecover
xmlTextReaderNormalization
+
buf
xmlSaveFileTo
+xmlSaveFormatFileTo
buffered
xmlAllocOutputBuffer
xmlAllocParserInputBuffer
xmlFreeParserInputBuffer
diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html index e00c5c4..fbe9e0c 100644 --- a/doc/APIconstructors.html +++ b/doc/APIconstructors.html @@ -42,6 +42,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextReaderConstValue
xmlTextReaderConstXmlLang
xmlTextReaderConstXmlVersion
+xmlUTF8Strpos
xmlXPathNsLookup

Type const xmlParserNodeInfo *:

xmlParserFindNodeInfo

Type docbDocPtr:

docbParseDoc
@@ -233,7 +234,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlURIEscape
xmlURIEscapeStr
xmlUTF8Strndup
-xmlUTF8Strpos
xmlUTF8Strsub
xmlValidCtxtNormalizeAttributeValue
xmlValidNormalizeAttributeValue
diff --git a/doc/APIfiles.html b/doc/APIfiles.html index 3dc6559..cc09f7d 100644 --- a/doc/APIfiles.html +++ b/doc/APIfiles.html @@ -910,6 +910,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGFreeValidCtxt
xmlRelaxNGGetParserErrors
xmlRelaxNGGetValidErrors
+xmlRelaxNGInitTypes
xmlRelaxNGNewDocParserCtxt
xmlRelaxNGNewMemParserCtxt
xmlRelaxNGNewParserCtxt
@@ -1433,7 +1434,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlURIEscapeStr
xmlURIPtr
xmlURIUnescapeString
-

Module valid:

_xmlValidCtxt
+

Module valid:

XML_CTXT_FINISH_DTD_0
+XML_CTXT_FINISH_DTD_1
+_xmlValidCtxt
xmlAddAttributeDecl
xmlAddElementDecl
xmlAddID
@@ -1856,6 +1859,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_FROM_SCHEMASV
XML_FROM_TREE
XML_FROM_VALID
+XML_FROM_WRITER
XML_FROM_XINCLUDE
XML_FROM_XPATH
XML_FROM_XPOINTER
@@ -2407,6 +2411,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlMallocAtomicLoc
xmlMallocFunc
xmlMallocLoc
+xmlMemBlocks
xmlMemDisplay
xmlMemFree
xmlMemGet
@@ -2964,6 +2969,7 @@ A:link, A:visited, A:active { text-decoration: underline } XPATH_EXPR_ERROR
XPATH_INVALID_ARITY
XPATH_INVALID_CHAR_ERROR
+XPATH_INVALID_CTXT
XPATH_INVALID_CTXT_POSITION
XPATH_INVALID_CTXT_SIZE
XPATH_INVALID_OPERAND
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html index 19a0caa..b1fd6a6 100644 --- a/doc/APIsymbols.html +++ b/doc/APIsymbols.html @@ -223,6 +223,8 @@ A:link, A:visited, A:active { text-decoration: underline } XML_CHECK_X
XML_COMMENT_NODE
XML_COMPLETE_ATTRS
+XML_CTXT_FINISH_DTD_0
+XML_CTXT_FINISH_DTD_1
XML_DEFAULT_VERSION
XML_DETECT_IDS
XML_DOCB_DOCUMENT_NODE
@@ -413,6 +415,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_FROM_SCHEMASV
XML_FROM_TREE
XML_FROM_VALID
+XML_FROM_WRITER
XML_FROM_XINCLUDE
XML_FROM_XPATH
XML_FROM_XPOINTER
@@ -1251,6 +1254,7 @@ A:link, A:visited, A:active { text-decoration: underline } XPATH_EXPR_ERROR
XPATH_INVALID_ARITY
XPATH_INVALID_CHAR_ERROR
+XPATH_INVALID_CTXT
XPATH_INVALID_CTXT_POSITION
XPATH_INVALID_CTXT_SIZE
XPATH_INVALID_OPERAND
@@ -2022,6 +2026,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlMallocAtomicLoc
xmlMallocFunc
xmlMallocLoc
+xmlMemBlocks
xmlMemDisplay
xmlMemFree
xmlMemGet
@@ -2364,6 +2369,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGFreeValidCtxt
xmlRelaxNGGetParserErrors
xmlRelaxNGGetValidErrors
+xmlRelaxNGInitTypes
xmlRelaxNGNewDocParserCtxt
xmlRelaxNGNewMemParserCtxt
xmlRelaxNGNewParserCtxt
diff --git a/doc/apibuild.py b/doc/apibuild.py index 059d0bb..2cbf32f 100755 --- a/doc/apibuild.py +++ b/doc/apibuild.py @@ -32,6 +32,7 @@ ignored_files = { "rngparser.c": "not yet integrated", "rngparser.h": "not yet integrated", "elfgcchack.h": "not a normal header", + "testapi.c": "generated regression tests", } ignored_words = { diff --git a/doc/examples/examples.xml b/doc/examples/examples.xml index 96534fc..bded118 100644 --- a/doc/examples/examples.xml +++ b/doc/examples/examples.xml @@ -100,7 +100,7 @@ - + @@ -567,7 +567,6 @@ - @@ -576,6 +575,7 @@ + diff --git a/doc/examples/reader3.c b/doc/examples/reader3.c index 2da7532..acbff4f 100644 --- a/doc/examples/reader3.c +++ b/doc/examples/reader3.c @@ -15,7 +15,7 @@ #include #include -#ifdef LIBXML_READER_ENABLED +#if defined(LIBXML_READER_ENABLED) && defined(LIBXML_PATTERN_ENABLED) /** * streamFile: @@ -113,7 +113,7 @@ int main(int argc, char **argv) { #else int main(void) { - fprintf(stderr, "XInclude support not compiled in\n"); + fprintf(stderr, "Reader or Pattern support not compiled in\n"); exit(1); } #endif diff --git a/doc/examples/testWriter.c b/doc/examples/testWriter.c index c5e9c39..e158f97 100644 --- a/doc/examples/testWriter.c +++ b/doc/examples/testWriter.c @@ -1168,8 +1168,8 @@ ConvertInput(const char *in, const char *encoding) if (out != 0) { temp = size - 1; ret = handler->input(out, &out_size, (const xmlChar *) in, &temp); - if (ret || temp - size + 1) { - if (ret) { + if ((ret < 0) || (temp - size + 1)) { + if (ret < 0) { printf("ConvertInput: conversion wasn't successful.\n"); } else { printf diff --git a/doc/examples/tree1.c b/doc/examples/tree1.c index 8a303e2..8644cf1 100644 --- a/doc/examples/tree1.c +++ b/doc/examples/tree1.c @@ -64,10 +64,10 @@ main(int argc, char **argv) LIBXML_TEST_VERSION /*parse the file and get the DOM */ - doc = xmlParseFile(argv[1]); + doc = xmlReadFile(argv[1], NULL, 0); if (doc == NULL) { - printf("error: could not parse file file.xml\n"); + printf("error: could not parse file %s\n", argv[1]); } /*Get the root element node */ diff --git a/doc/html/libxml-list.html b/doc/html/libxml-list.html index 627047d..004a7a7 100644 --- a/doc/html/libxml-list.html +++ b/doc/html/libxml-list.html @@ -78,7 +78,7 @@ void xmlListDeallocator (xmlLinkPtr l

Duplicate the list

old:the list
Returns:a new copy of the list or NULL in case of error

Function: xmlListEmpty

int	xmlListEmpty			(xmlListPtr l)

Is the list empty ?

-
l:a list
Returns:1 if the list is empty, 0 otherwise

Function: xmlListEnd

xmlLinkPtr	xmlListEnd		(xmlListPtr l)
+
l:a list
Returns:1 if the list is empty, 0 if not empty and -1 in case of error

Function: xmlListEnd

xmlLinkPtr	xmlListEnd		(xmlListPtr l)

Get the last element in the list

l:a list
Returns:the last element in the list, or NULL

Function: xmlListFront

xmlLinkPtr	xmlListFront		(xmlListPtr l)

Get the first element in the list

@@ -110,7 +110,7 @@ void xmlListDeallocator (xmlLinkPtr l

Search the list for an existing value of @data

l:a list
data:a search value
Returns:the value associated to @data or NULL in case of error

Function: xmlListSize

int	xmlListSize			(xmlListPtr l)

Get the number of elements in the list

-
l:a list
Returns:the number of elements in the list

Function: xmlListSort

void	xmlListSort			(xmlListPtr l)
+
l:a list
Returns:the number of elements in the list or -1 in case of error

Function: xmlListSort

void	xmlListSort			(xmlListPtr l)

Sort all the elements in the list

l:a list

Function: xmlListWalk

void	xmlListWalk			(xmlListPtr l, 
xmlListWalker walker,
const void * user)

Walk all the element of the first from first to last and apply the walker function to it

diff --git a/doc/html/libxml-nanoftp.html b/doc/html/libxml-nanoftp.html index 9fc521b..7c71162 100644 --- a/doc/html/libxml-nanoftp.html +++ b/doc/html/libxml-nanoftp.html @@ -22,15 +22,15 @@ void ftpListCallback (void * userData,
int	xmlNanoFTPCloseConnection	(void * ctx)
int	xmlNanoFTPConnect		(void * ctx)
void *	xmlNanoFTPConnectTo		(const char * server, 
int port)
-
int	xmlNanoFTPCwd			(void * ctx, 
char * directory)
-
int	xmlNanoFTPDele			(void * ctx, 
char * file)
+
int	xmlNanoFTPCwd			(void * ctx, 
const char * directory)
+
int	xmlNanoFTPDele			(void * ctx, 
const char * file)
void	xmlNanoFTPFreeCtxt		(void * ctx)
int	xmlNanoFTPGet			(void * ctx, 
ftpDataCallback callback,
void * userData,
const char * filename)
int	xmlNanoFTPGetConnection		(void * ctx)
int	xmlNanoFTPGetResponse		(void * ctx)
int	xmlNanoFTPGetSocket		(void * ctx, 
const char * filename)
void	xmlNanoFTPInit			(void)
-
int	xmlNanoFTPList			(void * ctx, 
ftpListCallback callback,
void * userData,
char * filename)
+
int	xmlNanoFTPList			(void * ctx, 
ftpListCallback callback,
void * userData,
const char * filename)
void *	xmlNanoFTPNewCtxt		(const char * URL)
void *	xmlNanoFTPOpen			(const char * URL)
void	xmlNanoFTPProxy			(const char * host, 
int port,
const char * user,
const char * passwd,
int type)
@@ -57,9 +57,9 @@ void ftpListCallback (void * userData,
const char * filename,

Tries to open a control connection

ctx:an FTP context
Returns:-1 in case of error, 0 otherwise

Function: xmlNanoFTPConnectTo

void *	xmlNanoFTPConnectTo		(const char * server, 
int port)

Tries to open a control connection to the given server/port

-
server:an FTP server name
port:the port (use 21 if 0)
Returns:an fTP context or NULL if it failed

Function: xmlNanoFTPCwd

int	xmlNanoFTPCwd			(void * ctx, 
char * directory)
+
server:an FTP server name
port:the port (use 21 if 0)
Returns:an fTP context or NULL if it failed

Function: xmlNanoFTPCwd

int	xmlNanoFTPCwd			(void * ctx, 
const char * directory)

Tries to change the remote directory

-
ctx:an FTP context
directory:a directory on the server
Returns:-1 incase of error, 1 if CWD worked, 0 if it failed

Function: xmlNanoFTPDele

int	xmlNanoFTPDele			(void * ctx, 
char * file)
+
ctx:an FTP context
directory:a directory on the server
Returns:-1 incase of error, 1 if CWD worked, 0 if it failed

Function: xmlNanoFTPDele

int	xmlNanoFTPDele			(void * ctx, 
const char * file)

Tries to delete an item (file or directory) from server

ctx:an FTP context
file:a file or directory on the server
Returns:-1 incase of error, 1 if DELE worked, 0 if it failed

Function: xmlNanoFTPFreeCtxt

void	xmlNanoFTPFreeCtxt		(void * ctx)

Frees the context after closing the connection.

@@ -73,7 +73,7 @@ void ftpListCallback (void * userData,
const char * filename,

Initiate fetch of the given file from the server.

ctx:an FTP context
filename:the file to retrieve (or NULL if path is in context).
Returns:the socket for the data connection, or <0 in case of error

Function: xmlNanoFTPInit

void	xmlNanoFTPInit			(void)

Initialize the FTP protocol layer. Currently it just checks for proxy informations, and get the hostname

-

Function: xmlNanoFTPList

int	xmlNanoFTPList			(void * ctx, 
ftpListCallback callback,
void * userData,
char * filename)
+

Function: xmlNanoFTPList

int	xmlNanoFTPList			(void * ctx, 
ftpListCallback callback,
void * userData,
const char * filename)

Do a listing on the server. All files info are passed back in the callbacks.

ctx:an FTP context
callback:the user callback
userData:the user callback data
filename:optional files to list
Returns:-1 incase of error, 0 otherwise

Function: xmlNanoFTPNewCtxt

void *	xmlNanoFTPNewCtxt		(const char * URL)

Allocate and initialize a new FTP context.

diff --git a/doc/html/libxml-relaxng.html b/doc/html/libxml-relaxng.html index 6e20a12..d611ce1 100644 --- a/doc/html/libxml-relaxng.html +++ b/doc/html/libxml-relaxng.html @@ -29,6 +29,7 @@ The content of this structure is not made public by the API.
void	xmlRelaxNGFreeValidCtxt		(xmlRelaxNGValidCtxtPtr ctxt)
int	xmlRelaxNGGetParserErrors	(xmlRelaxNGParserCtxtPtr ctxt, 
xmlRelaxNGValidityErrorFunc * err,
xmlRelaxNGValidityWarningFunc * warn,
void ** ctx)
int	xmlRelaxNGGetValidErrors	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlRelaxNGValidityErrorFunc * err,
xmlRelaxNGValidityWarningFunc * warn,
void ** ctx)
+
int	xmlRelaxNGInitTypes		(void)
xmlRelaxNGParserCtxtPtr	xmlRelaxNGNewDocParserCtxt	(xmlDocPtr doc)
xmlRelaxNGParserCtxtPtr	xmlRelaxNGNewMemParserCtxt	(const char * buffer, 
int size)
xmlRelaxNGParserCtxtPtr	xmlRelaxNGNewParserCtxt	(const char * URL)
@@ -118,7 +119,9 @@ The content of this structure is not made public by the API.

Get the callback information used to handle errors for a validation context

ctxt:a Relax-NG validation context
err:the error callback result
warn:the warning callback result
ctx:contextual data for the callbacks result
Returns:-1 in case of failure, 0 otherwise.

Function: xmlRelaxNGGetValidErrors

int	xmlRelaxNGGetValidErrors	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlRelaxNGValidityErrorFunc * err,
xmlRelaxNGValidityWarningFunc * warn,
void ** ctx)

Get the error and warning callback informations

-
ctxt:a Relax-NG validation context
err:the error function result
warn:the warning function result
ctx:the functions context result
Returns:-1 in case of error and 0 otherwise

Function: xmlRelaxNGNewDocParserCtxt

xmlRelaxNGParserCtxtPtr	xmlRelaxNGNewDocParserCtxt	(xmlDocPtr doc)
+
ctxt:a Relax-NG validation context
err:the error function result
warn:the warning function result
ctx:the functions context result
Returns:-1 in case of error and 0 otherwise

Function: xmlRelaxNGInitTypes

int	xmlRelaxNGInitTypes		(void)
+

Initilize the default type libraries.

+
Returns:0 in case of success and -1 in case of error.

Function: xmlRelaxNGNewDocParserCtxt

xmlRelaxNGParserCtxtPtr	xmlRelaxNGNewDocParserCtxt	(xmlDocPtr doc)

Create an XML RelaxNGs parser context for that document. Note: since the process of compiling a RelaxNG schemas modifies the document, the @doc parameter is duplicated internally.

doc:a preparsed document tree
Returns:the parser context or NULL in case of error

Function: xmlRelaxNGNewMemParserCtxt

xmlRelaxNGParserCtxtPtr	xmlRelaxNGNewMemParserCtxt	(const char * buffer, 
int size)

Create an XML RelaxNGs parse context for that memory buffer expected to contain an XML RelaxNGs file.

diff --git a/doc/html/libxml-tree.html b/doc/html/libxml-tree.html index 99c4bd9..f5d4241 100644 --- a/doc/html/libxml-tree.html +++ b/doc/html/libxml-tree.html @@ -833,13 +833,13 @@ A:link, A:visited, A:active { text-decoration: underline }
filename:the filename (or URL)
cur:the document
Returns:the number of bytes written or -1 in case of failure.

Function: xmlSaveFileEnc

int	xmlSaveFileEnc			(const char * filename, 
xmlDocPtr cur,
const char * encoding)

Dump an XML document, converting it to the given encoding

filename:the filename (or URL)
cur:the document
encoding:the name of an encoding (or NULL)
Returns:the number of bytes written or -1 in case of failure.

Function: xmlSaveFileTo

int	xmlSaveFileTo			(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding)
-

Dump an XML document to an I/O buffer.

+

Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call.

buf:an output I/O buffer
cur:the document
encoding:the encoding if any assuming the I/O layer handles the trancoding
Returns:the number of bytes written or -1 in case of failure.

Function: xmlSaveFormatFile

int	xmlSaveFormatFile		(const char * filename, 
xmlDocPtr cur,
int format)

Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. If @format is set then the document will be indented on output. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

filename:the filename (or URL)
cur:the document
format:should formatting spaces been added
Returns:the number of bytes written or -1 in case of failure.

Function: xmlSaveFormatFileEnc

int	xmlSaveFormatFileEnc		(const char * filename, 
xmlDocPtr cur,
const char * encoding,
int format)

Dump an XML document to a file or an URL.

filename:the filename or URL to output
cur:the document being saved
encoding:the name of the encoding to use or NULL.
format:should formatting spaces be added.
Returns:the number of bytes written or -1 in case of error. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

Function: xmlSaveFormatFileTo

int	xmlSaveFormatFileTo		(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding,
int format)
-

Dump an XML document to an I/O buffer. NOTE: the I/O buffer is closed as part of the call.

+

Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call.

buf:an output I/O buffer
cur:the document
encoding:the encoding if any assuming the I/O layer handles the trancoding
format:should formatting spaces been added
Returns:the number of bytes written or -1 in case of failure.

Function: xmlSearchNs

xmlNsPtr	xmlSearchNs		(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * nameSpace)

Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return NULL otherwise. @nameSpace can be NULL, this is a search for the default namespace. We don't allow to cross entities boundaries. If you don't declare the namespace within those you will be in troubles !!! A warning is generated to cover this case.

doc:the document
node:the current node
nameSpace:the namespace prefix
Returns:the namespace pointer or NULL.

Function: xmlSearchNsByHref

xmlNsPtr	xmlSearchNsByHref	(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * href)
diff --git a/doc/html/libxml-valid.html b/doc/html/libxml-valid.html index bc18015..e26d184 100644 --- a/doc/html/libxml-valid.html +++ b/doc/html/libxml-valid.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module valid from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module valid from libxml2

API Menu
API Indexes
Related links

API for the DTD handling and the validity checking

Table of Contents

Structure xmlAttributeTable
struct _xmlHashTable + Module valid from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module valid from libxml2

API Menu
API Indexes
Related links

API for the DTD handling and the validity checking

Table of Contents

#define XML_CTXT_FINISH_DTD_0
#define XML_CTXT_FINISH_DTD_1
Structure xmlAttributeTable
struct _xmlHashTable The content of this structure is not made public by the API.
Typedef xmlAttributeTable * xmlAttributeTablePtr
 
Structure xmlElementTable
struct _xmlHashTable @@ -104,6 +104,8 @@ void xmlValidityErrorFunc (void * ctx,
xmlValidityWarningFunc (void * ctx,
const char * msg,
... ...)

Description

+

Macro: XML_CTXT_FINISH_DTD_0

#define XML_CTXT_FINISH_DTD_0

Special value for finishDtd field when embedded in an xmlParserCtxt

+

Macro: XML_CTXT_FINISH_DTD_1

#define XML_CTXT_FINISH_DTD_1

Special value for finishDtd field when embedded in an xmlParserCtxt

Structure xmlAttributeTable

Structure xmlAttributeTable
struct _xmlHashTable { The content of this structure is not made public by the API. }

Structure xmlElementTable

Structure xmlElementTable
struct _xmlHashTable { @@ -122,7 +124,7 @@ The content of this structure is not made public by the API. int nodeNr : Depth of the parsing stack int nodeMax : Max depth of the parsing stack xmlNodePtr * nodeTab : array of nodes - int finishDtd : finished validating the Dtd ? + unsigned int finishDtd : finished validating the Dtd ? xmlDocPtr doc : the document int valid : temporary validity check result state s xmlValidState * vstate : current state diff --git a/doc/html/libxml-xmlIO.html b/doc/html/libxml-xmlIO.html index 1e3b3c3..1aaf3cd 100644 --- a/doc/html/libxml-xmlIO.html +++ b/doc/html/libxml-xmlIO.html @@ -102,7 +102,7 @@ int xmlOutputWriteCallback (void * contex

Wrapper around xmlFileOpen_real that try it with an unescaped version of @filename, if this fails fallback to @filename

filename:the URI for matching
Returns:a handler or NULL in case or failure

Function: xmlFileRead

int	xmlFileRead			(void * context, 
char * buffer,
int len)

Read @len bytes to @buffer from the I/O channel.

-
context:the I/O context
buffer:where to drop data
len:number of bytes to write
Returns:the number of bytes written

Function: xmlFreeParserInputBuffer

void	xmlFreeParserInputBuffer	(xmlParserInputBufferPtr in)
+
context:the I/O context
buffer:where to drop data
len:number of bytes to write
Returns:the number of bytes written or < 0 in case of failure

Function: xmlFreeParserInputBuffer

void	xmlFreeParserInputBuffer	(xmlParserInputBufferPtr in)

Free up the memory used by a buffered parser input

in:a buffered parser input

Function: xmlIOFTPClose

int	xmlIOFTPClose			(void * context)

Close an FTP I/O channel

diff --git a/doc/html/libxml-xmlerror.html b/doc/html/libxml-xmlerror.html index 93aaa79..a0bfb49 100644 --- a/doc/html/libxml-xmlerror.html +++ b/doc/html/libxml-xmlerror.html @@ -77,6 +77,7 @@ void xmlStructuredErrorFunc (void * userD XML_FROM_XSLT = 22 : The XSLT engine from libxslt XML_FROM_VALID = 23 : The XML DTD validation with valid context XML_FROM_CHECK = 24 : The error checking module + XML_FROM_WRITER = 25 : The xmlwriter module }

Enum xmlErrorLevel

Enum xmlErrorLevel {
     XML_ERR_NONE = 0
diff --git a/doc/html/libxml-xmlmemory.html b/doc/html/libxml-xmlmemory.html
index 90f9167..23d3416 100644
--- a/doc/html/libxml-xmlmemory.html
+++ b/doc/html/libxml-xmlmemory.html
@@ -30,6 +30,7 @@ void	xmlFreeFunc			(void * mem)
 void *	xmlMallocFunc			(size_t size)
 
void *	xmlMallocLoc			(size_t size, 
const char * file,
int line)
+
int	xmlMemBlocks			(void)
void	xmlMemDisplay			(FILE * fp)
void	xmlMemFree			(void * ptr)
int	xmlMemGet			(xmlFreeFunc * freeFunc, 
xmlMallocFunc * mallocFunc,
xmlReallocFunc * reallocFunc,
xmlStrdupFunc * strdupFunc)
@@ -68,7 +69,9 @@ void * xmlMallocFunc (size_t size)

Signature for a malloc() implementation.

size:the size requested in bytes
Returns:a pointer to the newly allocated block or NULL in case of error.

Function: xmlMallocLoc

void *	xmlMallocLoc			(size_t size, 
const char * file,
int line)

a malloc() equivalent, with logging of the allocation info.

-
size:an int specifying the size in byte to allocate.
file:the file name or NULL
line:the line number
Returns:a pointer to the allocated area or NULL in case of lack of memory.

Function: xmlMemDisplay

void	xmlMemDisplay			(FILE * fp)
+
size:an int specifying the size in byte to allocate.
file:the file name or NULL
line:the line number
Returns:a pointer to the allocated area or NULL in case of lack of memory.

Function: xmlMemBlocks

int	xmlMemBlocks			(void)
+

Provides the number of memory areas currently allocated

+
Returns:an int representing the number of blocks

Function: xmlMemDisplay

void	xmlMemDisplay			(FILE * fp)

show in-extenso the memory blocks allocated

fp:a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist

Function: xmlMemFree

void	xmlMemFree			(void * ptr)

diff --git a/doc/html/libxml-xmlstring.html b/doc/html/libxml-xmlstring.html index 490df42..9b29924 100644 --- a/doc/html/libxml-xmlstring.html +++ b/doc/html/libxml-xmlstring.html @@ -38,7 +38,7 @@ A:link, A:visited, A:active { text-decoration: underline }
int	xmlUTF8Strlen			(const xmlChar * utf)
int	xmlUTF8Strloc			(const xmlChar * utf, 
const xmlChar * utfchar)
xmlChar *	xmlUTF8Strndup		(const xmlChar * utf, 
int len)
-
xmlChar *	xmlUTF8Strpos		(const xmlChar * utf, 
int pos)
+
const xmlChar *	xmlUTF8Strpos		(const xmlChar * utf, 
int pos)
int	xmlUTF8Strsize			(const xmlChar * utf, 
int len)
xmlChar *	xmlUTF8Strsub		(const xmlChar * utf, 
int start,
int len)

Description

@@ -97,10 +97,10 @@ A:link, A:visited, A:active { text-decoration: underline }

a function to provide the relative location of a UTF8 char

utf:the input UTF8 *
utfchar:the UTF8 character to be found
Returns:the relative character position of the desired char or -1 if not found

Function: xmlUTF8Strndup

xmlChar *	xmlUTF8Strndup		(const xmlChar * utf, 
int len)

a strndup for array of UTF8's

-
utf:the input UTF8 *
len:the len of @utf (in chars)
Returns:a new UTF8 * or NULL

Function: xmlUTF8Strpos

xmlChar *	xmlUTF8Strpos		(const xmlChar * utf, 
int pos)
+
utf:the input UTF8 *
len:the len of @utf (in chars)
Returns:a new UTF8 * or NULL

Function: xmlUTF8Strpos

const xmlChar *	xmlUTF8Strpos		(const xmlChar * utf, 
int pos)

a function to provide the equivalent of fetching a character from a string array

utf:the input UTF8 *
pos:the position of the desired UTF8 char (in chars)
Returns:a pointer to the UTF8 character or NULL

Function: xmlUTF8Strsize

int	xmlUTF8Strsize			(const xmlChar * utf, 
int len)
-

storage size of an UTF8 string

+

storage size of an UTF8 string the behaviour is not garanteed if the input string is not UTF-8

utf:a sequence of UTF-8 encoded bytes
len:the number of characters in the array
Returns:the storage size of the first 'len' characters of ARRAY

Function: xmlUTF8Strsub

xmlChar *	xmlUTF8Strsub		(const xmlChar * utf, 
int start,
int len)

Create a substring from a given UTF-8 string Note: positions are given in units of UTF-8 chars

utf:a sequence of UTF-8 encoded bytes
start:relative pos of first char
len:total number to copy
Returns:a pointer to a newly created string or NULL if any problem

Daniel Veillard

diff --git a/doc/html/libxml-xmlwriter.html b/doc/html/libxml-xmlwriter.html index 071ced6..3127a8b 100644 --- a/doc/html/libxml-xmlwriter.html +++ b/doc/html/libxml-xmlwriter.html @@ -100,7 +100,7 @@ The content of this structure is not made public by the API. }

Function: xmlFreeTextWriter

void	xmlFreeTextWriter		(xmlTextWriterPtr writer)

Deallocate all the resources associated to the writer

writer:the xmlTextWriterPtr

Function: xmlNewTextWriter

xmlTextWriterPtr	xmlNewTextWriter	(xmlOutputBufferPtr out)
-

Create a new xmlNewTextWriter structure using an xmlOutputBufferPtr

+

Create a new xmlNewTextWriter structure using an xmlOutputBufferPtr NOTE: the @out parameter will be deallocated when the writer is closed (if the call succeed.)

out:an xmlOutputBufferPtr
Returns:the new xmlTextWriterPtr or NULL in case of error

Function: xmlNewTextWriterDoc

xmlTextWriterPtr	xmlNewTextWriterDoc	(xmlDocPtr * doc, 
int compression)

Create a new xmlNewTextWriter structure with @*doc as output

doc:address of a xmlDocPtr to hold the new XML document tree
compression:compress the output?
Returns:the new xmlTextWriterPtr or NULL in case of error

Function: xmlNewTextWriterFilename

xmlTextWriterPtr	xmlNewTextWriterFilename	(const char * uri, 
int compression)
@@ -108,7 +108,7 @@ The content of this structure is not made public by the API.
uri:the URI of the resource for the output
compression:compress the output?
Returns:the new xmlTextWriterPtr or NULL in case of error

Function: xmlNewTextWriterMemory

xmlTextWriterPtr	xmlNewTextWriterMemory	(xmlBufferPtr buf, 
int compression)

Create a new xmlNewTextWriter structure with @buf as output TODO: handle compression

buf:xmlBufferPtr
compression:compress the output?
Returns:the new xmlTextWriterPtr or NULL in case of error

Function: xmlNewTextWriterPushParser

xmlTextWriterPtr	xmlNewTextWriterPushParser	(xmlParserCtxtPtr ctxt, 
int compression)
-

Create a new xmlNewTextWriter structure with @ctxt as output TODO: handle compression

+

Create a new xmlNewTextWriter structure with @ctxt as output NOTE: the @ctxt context will be freed with the resulting writer (if the call succeeds). TODO: handle compression

ctxt:xmlParserCtxtPtr to hold the new XML document tree
compression:compress the output?
Returns:the new xmlTextWriterPtr or NULL in case of error

Function: xmlNewTextWriterTree

xmlTextWriterPtr	xmlNewTextWriterTree	(xmlDocPtr doc, 
xmlNodePtr node,
int compression)

Create a new xmlNewTextWriter structure with @doc as output starting at @node

doc:xmlDocPtr
node:xmlNodePtr or NULL for doc->children
compression:compress the output?
Returns:the new xmlTextWriterPtr or NULL in case of error

Function: xmlTextWriterEndAttribute

int	xmlTextWriterEndAttribute	(xmlTextWriterPtr writer)
diff --git a/doc/html/libxml-xpath.html b/doc/html/libxml-xpath.html index 5594973..0fccabf 100644 --- a/doc/html/libxml-xpath.html +++ b/doc/html/libxml-xpath.html @@ -159,6 +159,7 @@ The content of this structure is not made public by the API. XPATH_UNDEF_PREFIX_ERROR = 19 XPATH_ENCODING_ERROR = 20 XPATH_INVALID_CHAR_ERROR = 21 + XPATH_INVALID_CTXT = 22 }

Structure xmlXPathFunct

Structure xmlXPathFunct
struct _xmlXPathFunct { const xmlChar * name : the function name diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index 3da8dbe..6a93755 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -1023,6 +1023,7 @@ + @@ -1557,6 +1558,8 @@ The DTD validation API for the DTD handling and the validity checking Daniel Veillard + + @@ -1992,6 +1995,7 @@ + @@ -2578,6 +2582,7 @@ + @@ -3177,6 +3182,7 @@ + @@ -3191,9 +3197,9 @@ - - + + @@ -3751,6 +3757,12 @@ Bit in the loadsubset context field to tell to do complete the elements attributes lists with the ones defaulted from the DTDs. Use it to initialize xmlLoadExtDtdDefaultValue. + + Special value for finishDtd field when embedded in an xmlParserCtxt + + + Special value for finishDtd field when embedded in an xmlParserCtxt + The default version of XML used: 1.0 @@ -4465,7 +4477,7 @@ - + @@ -4484,6 +4496,7 @@ + @@ -5244,6 +5257,7 @@ + @@ -6125,7 +6139,7 @@ actually an xmlCharEncoding'/> - + @@ -8866,7 +8880,7 @@ actually an xmlCharEncoding'/> Read @len bytes to @buffer from the I/O channel. - + @@ -9735,7 +9749,7 @@ actually an xmlCharEncoding'/> Is the list empty ? - + @@ -9826,7 +9840,7 @@ actually an xmlCharEncoding'/> Get the number of elements in the list - + @@ -9914,6 +9928,10 @@ actually an xmlCharEncoding'/> + + Provides the number of memory areas currently allocated + + show in-extenso the memory blocks allocated @@ -10044,14 +10062,14 @@ actually an xmlCharEncoding'/> Tries to change the remote directory - + LIBXML_FTP_ENABLED Tries to delete an item (file or directory) from server - + LIBXML_FTP_ENABLED @@ -10099,7 +10117,7 @@ actually an xmlCharEncoding'/> - + LIBXML_FTP_ENABLED @@ -10533,7 +10551,7 @@ actually an xmlCharEncoding'/> LIBXML_WRITER_ENABLED - Create a new xmlNewTextWriter structure using an xmlOutputBufferPtr + Create a new xmlNewTextWriter structure using an xmlOutputBufferPtr NOTE: the @out parameter will be deallocated when the writer is closed (if the call succeed.) @@ -10560,7 +10578,7 @@ actually an xmlCharEncoding'/> LIBXML_WRITER_ENABLED - Create a new xmlNewTextWriter structure with @ctxt as output TODO: handle compression + Create a new xmlNewTextWriter structure with @ctxt as output NOTE: the @ctxt context will be freed with the resulting writer (if the call succeeds). TODO: handle compression @@ -11767,6 +11785,11 @@ actually an xmlCharEncoding'/> + + LIBXML_SCHEMAS_ENABLED + Initilize the default type libraries. + + LIBXML_SCHEMAS_ENABLED Create an XML RelaxNGs parser context for that document. Note: since the process of compiling a RelaxNG schemas modifies the document, the @doc parameter is duplicated internally. @@ -12244,7 +12267,7 @@ actually an xmlCharEncoding'/> LIBXML_OUTPUT_ENABLED - Dump an XML document to an I/O buffer. + Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call. @@ -12275,7 +12298,7 @@ actually an xmlCharEncoding'/> LIBXML_OUTPUT_ENABLED - Dump an XML document to an I/O buffer. NOTE: the I/O buffer is closed as part of the call. + Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call. @@ -12735,6 +12758,7 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Implements the XML shell This allow to load, validate, view, modify and save a document using a environment similar to a UNIX commandline. @@ -12744,6 +12768,7 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Implements the XML shell function "base" dumps the current XML base of the node @@ -12753,6 +12778,7 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Implements the XML shell function "cat" dumps the serialization node content (XML or HTML). @@ -12762,6 +12788,7 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED This is a generic signature for the XML shell functions. @@ -12771,6 +12798,7 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Implements the XML shell function "dir" dumps informations about the node (namespace, attributes, content). @@ -12780,6 +12808,7 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Implements the XML shell function "du" show the structure of the subtree under node @tree If @tree is null, the command works on the current node. @@ -12789,6 +12818,7 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Implements the XML shell function "ls" Does an Unix like listing of the given node (like a directory) @@ -12798,6 +12828,7 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Implements the XML shell function "load" loads a new document specified by the filename @@ -12807,12 +12838,14 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Print node to the output FILE LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Print the xpath error to libxml default error channel @@ -12820,12 +12853,14 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Prints result to the output FILE LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Implements the XML shell function "pwd" Show the full path from the root to the node, if needed building thumblers when similar elements exists at a given ancestor level. The output is compatible with XPath commands. @@ -12835,12 +12870,14 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED This is a generic signature for the XML shell input function. LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED LIBXML_OUTPUT_ENABLED Implements the XML shell function "save" Write the current document to the filename, or it's original name @@ -12851,6 +12888,7 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED Implements the XML shell function "validate" Validate the document, if a DTD path is provided, then the validation is done against the given DTD. @@ -12860,6 +12898,7 @@ actually an xmlCharEncoding'/> LIBXML_DEBUG_ENABLED + LIBXML_XPATH_ENABLED LIBXML_OUTPUT_ENABLED Implements the XML shell function "write" Write the current node to the filename, it saves the serialization of the subtree under the @node specified @@ -15263,12 +15302,12 @@ actually an xmlCharEncoding'/> a function to provide the equivalent of fetching a character from a string array - + - storage size of an UTF8 string + storage size of an UTF8 string the behaviour is not garanteed if the input string is not UTF-8 diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa index d093fb7..a4def81 100644 --- a/doc/libxml2.xsa +++ b/doc/libxml2.xsa @@ -8,19 +8,24 @@ libxml2 - 2.6.13 - Aug 31 2004 + 2.6.15 + Oct 27 2004 http://xmlsoft.org/ - - build fixes: Windows and zlib (Igor Zlatkovic), -O flag with gcc, - Solaris compiler warning, fixing RPM BuildRequires, - - fixes: DTD loading on Windows (Igor), Schemas error reports APIs - (Kasimier Buchcik), Schemas validation crash, xmlCheckUTF8 (William Brack - and Julius Mittenzwei), Schemas facet check (Kasimier), default namespace - problem (William), Schemas hexbinary empty values, encoding error could - genrate a serialization loop. - - Improvements: Schemas validity improvements (Kasimier), added --path - and --load-trace options to xmllint - - documentation: tutorial update (John Fleck) + - security fixes on the nanoftp and nanohttp modules + - build fixes: xmllint detection bug in configure, building outside the + source tree (Thomas Fitzsimmons) + - bug fixes: HTML parser on broken ASCII chars in names (William), Python + paths (Malcolm Tredinnick), xmlHasNsProp and default namespace (William), + saving to python file objects (Malcolm Tredinnick), DTD lookup fix + (Malcolm), save back <group> in catalogs (William), tree build + fixes (DV and Rob Richards), Schemas memory bug, structured error handler + on Python 64bits, thread local memory deallocation, memory leak reported + by Volker Roth, xmlValidateDtd in the presence of an internal subset, + entities and _private problem (William), xmlBuildRelativeURI error + (William). + - improvements: better XInclude error reports (William), tree debugging + module and tests, convenience functions at the Reader API (Graham + Bennett), add support for PI in the HTML parser. diff --git a/doc/news.html b/doc/news.html index d625f1d..6cbd423 100644 --- a/doc/news.html +++ b/doc/news.html @@ -12,7 +12,17 @@ to help those

The change log describes the recents commits -to the CVS code base.

There is the list of public releases:

2.6.15: Oct 27 2004

  • security fixes on the nanoftp and nanohttp modules
  • +to the CVS code base.

    There is the list of public releases:

    2.6.16: Nov 10 2004

    • general hardening and bug fixing crossing all the API based on new + automated regression testing
    • +
    • build fix: IPv6 build and test on AIX (Dodji Seketeli)
    • +
    • bug fixes: problem with XML::Libxml reported by Petr Pajas, encoding + conversion functions return values, UTF-8 bug affecting XPath reported by + Markus Bertheau, catalog problem with NULL entries (William Brack)
    • +
    • documentation: fix to xmllint man page, some API function descritpion + were updated.
    • +
    • improvements: DTD validation APIs provided at the Python level (Brent + Hendricks)
    • +

    2.6.15: Oct 27 2004

    • security fixes on the nanoftp and nanohttp modules
    • build fixes: xmllint detection bug in configure, building outside the source tree (Thomas Fitzsimmons)
    • bug fixes: HTML parser on broken ASCII chars in names (William), Python diff --git a/doc/xml.html b/doc/xml.html index c373b2d..e0e484f 100644 --- a/doc/xml.html +++ b/doc/xml.html @@ -680,7 +680,21 @@ to the CVS code base.

      There is the list of public releases:

      -

      2.6.15: Oct 27 2004

      +

      2.6.16: Nov 10 2004

      +
        +
      • general hardening and bug fixing crossing all the API based on new + automated regression testing
      • +
      • build fix: IPv6 build and test on AIX (Dodji Seketeli)
      • +
      • bug fixes: problem with XML::Libxml reported by Petr Pajas, encoding + conversion functions return values, UTF-8 bug affecting XPath reported by + Markus Bertheau, catalog problem with NULL entries (William Brack)
      • +
      • documentation: fix to xmllint man page, some API function descritpion + were updated.
      • +
      • improvements: DTD validation APIs provided at the Python level (Brent + Hendricks)
      • +
      + +

      2.6.15: Oct 27 2004

      • security fixes on the nanoftp and nanohttp modules
      • build fixes: xmllint detection bug in configure, building outside the diff --git a/doc/xmllint.1 b/doc/xmllint.1 index 7d2a513..3875961 100644 --- a/doc/xmllint.1 +++ b/doc/xmllint.1 @@ -31,7 +31,7 @@ xmllint \- command line XML tool .SH "INTRODUCTION" .PP -The xmllint program parses one or more XML files, specified on the command line as \fIxmlfile\fR\&. It prints various types of output, depending upon the options selected\&. It is useful for detecting errors both in XML code and in the XML parser itself\&. +The xmllint program parses one or more XML files, specified on the command line as \fIxmlfile\fR (or the standard input if the filename provided is \- )\&. It prints various types of output, depending upon the options selected\&. It is useful for detecting errors both in XML code and in the XML parser itself\&. .PP It is included in libxml2\&. diff --git a/doc/xmllint.xml b/doc/xmllint.xml index e0ba0ee..8ab468f 100644 --- a/doc/xmllint.xml +++ b/doc/xmllint.xml @@ -104,7 +104,8 @@ Introduction The xmllint program parses one or more XML files, specified on the - command line as xmlfile. It prints various + command line as xmlfile (or the standard + input if the filename provided is - ). It prints various types of output, depending upon the options selected. It is useful for detecting errors both in XML code and in the XML parser itself. -- cgit v1.2.3