diff --git a/ChangeLog b/ChangeLog
index dd38317d..30207dd3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Mon May 27 16:44:04 CEST 2002 Daniel Veillard
+
+ * HTMLparser.c win32/libxml2.def.src win32/dsp/libxml2.def.src
+ include/libxml/HTMLparser.h: fixing #79334 making htmlParseDocument
+ a public entry point.
+ * doc/*: rebuilt the API and docs
+
Mon May 27 14:16:28 CEST 2002 Daniel Veillard
* xpath.c: patch from Richard Jinks to fix a problem introduced
diff --git a/HTMLparser.c b/HTMLparser.c
index 4c819d1b..82202aa7 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -3578,7 +3578,7 @@ htmlParseElement(htmlParserCtxtPtr ctxt) {
* as a result of the parsing.
*/
-static int
+int
htmlParseDocument(htmlParserCtxtPtr ctxt) {
xmlDtdPtr dtd;
diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html
index 22abefd4..7aa417f2 100644
--- a/doc/APIchunk1.html
+++ b/doc/APIchunk1.html
@@ -239,7 +239,6 @@ A:link, A:visited, A:active { text-decoration: underline }
Disabled
xmlDoValidityCheckingDefaultValue
-xmlIndentTreeOutput
xmlLineNumbersDefaultValue
xmlLoadExtDtdDefaultValue
xmlParserDebugEntities
@@ -436,6 +435,10 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParseStartTag
+Enabled
+
+xmlIndentTreeOutput
+
Encapsulating
xmlNodeGetBase
diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html
index f1776ef6..3247616e 100644
--- a/doc/APIconstructors.html
+++ b/doc/APIconstructors.html
@@ -178,6 +178,9 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlInputOpenCallback
xmlOutputOpenCallback
xmlIOHTTPOpenW
+xmlFileOpen
+xmlIOHTTPOpen
+xmlIOFTPOpen
xmlMallocFunc
xmlReallocFunc
xmlMallocLoc
diff --git a/doc/APIfiles.html b/doc/APIfiles.html
index 9ae53f17..6c6806d9 100644
--- a/doc/APIfiles.html
+++ b/doc/APIfiles.html
@@ -133,6 +133,7 @@ A:link, A:visited, A:active { text-decoration: underline }
htmlParseEntityRef
htmlParseCharRef
htmlParseElement
+htmlParseDocument
htmlSAXParseDoc
htmlParseDoc
htmlSAXParseFile
@@ -379,6 +380,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlGenericErrorContext
xmlGetWarningsDefaultValue
xmlIndentTreeOutput
+xmlTreeIndentString
xmlKeepBlanksDefaultValue
xmlLineNumbersDefaultValue
xmlLoadExtDtdDefaultValue
@@ -1127,6 +1129,18 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlIOHTTPOpenW
xmlRegisterHTTPPostCallbacks
xmlNoNetExternalEntityLoader
+xmlFileMatch
+xmlFileOpen
+xmlFileRead
+xmlFileClose
+xmlIOHTTPMatch
+xmlIOHTTPOpen
+xmlIOHTTPRead
+xmlIOHTTPClose
+xmlIOFTPMatch
+xmlIOFTPOpen
+xmlIOFTPRead
+xmlIOFTPClose
@@ -1344,6 +1358,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlXPathNewValueTree
xmlXPathNodeSetAdd
xmlXPathNodeSetAddUnique
+xmlXPathNodeSetAddNs
xmlXPathNodeSetSort
xmlXPathRoot
xmlXPathEvalExpr
diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html
index 061fde69..34042c8c 100644
--- a/doc/APIfunctions.html
+++ b/doc/APIfunctions.html
@@ -601,6 +601,7 @@ A:link, A:visited, A:active { text-decoration: underline }
htmlParseEntityRef
htmlParseCharRef
htmlParseElement
+htmlParseDocument
htmlFreeParserCtxt
htmlParseChunk
@@ -773,6 +774,12 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlOutputCloseCallback
xmlParserInputBufferCreateIO
xmlOutputBufferCreateIO
+xmlFileRead
+xmlFileClose
+xmlIOHTTPRead
+xmlIOHTTPClose
+xmlIOFTPRead
+xmlIOFTPClose
xmlGenericErrorFunc
xmlSetGenericErrorFunc
xmlParserError
@@ -1487,6 +1494,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlXPathNewValueTree
xmlXPathNodeSetAdd
xmlXPathNodeSetAddUnique
+xmlXPathNodeSetAddNs
xmlXPathNodeSetDel
xmlXPathNextSelf
xmlXPathNextChild
@@ -1549,6 +1557,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlXPathTrailing
xmlXPathNodeSetAdd
xmlXPathNodeSetAddUnique
+xmlXPathNodeSetAddNs
xmlXPathNodeSetSort
xmlXPathNodeSetMerge
xmlXPathNodeSetMerge
@@ -1587,6 +1596,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlCopyNamespaceList
xmlSetNsProp
xmlUnsetNsProp
+xmlXPathNodeSetAddNs
Type xmlOutputBufferPtr:
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml
index 4966f15c..5531e748 100644
--- a/doc/libxml2-api.xml
+++ b/doc/libxml2-api.xml
@@ -235,6 +235,7 @@
+
@@ -782,6 +783,7 @@
+
@@ -953,6 +955,7 @@
+
@@ -1227,6 +1230,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2374,6 +2389,10 @@
+
+
+
+
parse an HTML element, this is highly recursive
@@ -3655,6 +3674,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Search in the registered set the handler able to read/write that encoding.
@@ -4165,12 +4202,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Open a temporary buffer to collect the document for a subsequent HTTP POST request. Non-static as is called from the output buffer creation routine.
+
+
+
+
+
+
Load and parse a DTD
@@ -4179,7 +4252,7 @@
- Global setting, asking the serializer to indent the output tree by default Disabled by default
+ Global setting, asking the serializer to indent the output tree by default Enabled by default
Initialize the char encoding support, it registers the default encoding supported. NOTE: while public, this function usually doesn't need to be called in normal processing.
@@ -6448,6 +6521,8 @@
+
+
Escaping routine, does not do validity checks ! It will try to escape the chars needing this, but this is heuristic based it's impossible to be sure.
@@ -7243,6 +7318,12 @@
+
+
+
+
+
+
add a new xmlNodePtr to an existing NodeSet, optimized version when we are sure the node is not already in the set.
diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml
index e82e8029..3a9cc285 100644
--- a/doc/libxml2-refs.xml
+++ b/doc/libxml2-refs.xml
@@ -3033,6 +3033,9 @@
+
+
+
@@ -3926,6 +3929,7 @@
+
@@ -4091,6 +4095,12 @@
+
+
+
+
+
+
@@ -4748,6 +4758,7 @@
+
@@ -4808,6 +4819,7 @@
+
@@ -4843,6 +4855,7 @@
+
@@ -5259,6 +5272,7 @@
+
@@ -5489,6 +5503,7 @@
+
@@ -6211,6 +6226,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -6418,6 +6445,7 @@
+
@@ -7184,7 +7212,6 @@
-
@@ -7357,6 +7384,9 @@
+
+
+
diff --git a/include/libxml/HTMLparser.h b/include/libxml/HTMLparser.h
index 20f304bc..f0921371 100644
--- a/include/libxml/HTMLparser.h
+++ b/include/libxml/HTMLparser.h
@@ -72,6 +72,7 @@ const htmlEntityDesc * htmlParseEntityRef(htmlParserCtxtPtr ctxt,
int htmlParseCharRef(htmlParserCtxtPtr ctxt);
void htmlParseElement(htmlParserCtxtPtr ctxt);
+int htmlParseDocument(htmlParserCtxtPtr ctxt);
htmlDocPtr htmlSAXParseDoc (xmlChar *cur,
const char *encoding,
htmlSAXHandlerPtr sax,
diff --git a/win32/dsp/libxml2.def.src b/win32/dsp/libxml2.def.src
index b0fdff14..ae09318f 100644
--- a/win32/dsp/libxml2.def.src
+++ b/win32/dsp/libxml2.def.src
@@ -323,6 +323,7 @@ EXPORTS
htmlParseEntityRef
htmlParseCharRef
htmlParseElement
+ htmlParseDocument
htmlSAXParseDoc
htmlParseDoc
htmlSAXParseFile
diff --git a/win32/libxml2.def.src b/win32/libxml2.def.src
index f0cb31a3..e19e384e 100644
--- a/win32/libxml2.def.src
+++ b/win32/libxml2.def.src
@@ -323,6 +323,7 @@ xmlCleanupPredefinedEntities
htmlParseEntityRef
htmlParseCharRef
htmlParseElement
+ htmlParseDocument
htmlSAXParseDoc
htmlParseDoc
htmlSAXParseFile