adding a new set of API for parsing xmlReadDoc() xmlReadFile() ...

* parser.c include/libxml/parser.h: adding a new set of
  API for parsing xmlReadDoc() xmlReadFile() ... xmlReadIO()
  and xmlCtxtReadDoc() ... xmlCtxtReadIO(). That with
  a clear define of xmlParserOption, xmlCtxtUseOptions()
  should simplify custom parsing without being tempted to
  use global variables, and xmlCtxtReset() should allow reuse
  of a context for multiple parsing.
* xmllint.c: switched to use xmlReadXXX, allow options to
  be used simultaneously with less troubles.
* tree.c: simple warning removal
* doc/apibuild.py: small fix
* doc/libxml2-api.xml win32/libxml2.def.src: updated
Daniel
diff --git a/win32/libxml2.def.src b/win32/libxml2.def.src
index 68a00cd..7710eb0 100644
--- a/win32/libxml2.def.src
+++ b/win32/libxml2.def.src
@@ -489,6 +489,7 @@
 xmlBufferContent
 xmlBufferCreate
 xmlBufferCreateSize
+xmlBufferCreateStatic
 xmlBufferDump
 xmlBufferEmpty
 xmlBufferFree
@@ -624,6 +625,13 @@
 xmlCreateMemoryParserCtxt
 xmlCreatePushParserCtxt
 xmlCreateURI
+xmlCtxtReadDoc
+xmlCtxtReadFd
+xmlCtxtReadFile
+xmlCtxtReadIO
+xmlCtxtReadMemory
+xmlCtxtReset
+xmlCtxtUseOptions
 xmlCurrentChar
 #ifdef LIBXML_DEBUG_ENABLED
 xmlDebugDumpAttr
@@ -663,6 +671,8 @@
 xmlDictCreate
 xmlDictFree
 xmlDictLookup
+xmlDictOwns
+xmlDictQLookup
 xmlDictSize
 xmlDocCopyNode
 xmlDocDump
@@ -765,6 +775,9 @@
 xmlHashLookup
 xmlHashLookup2
 xmlHashLookup3
+xmlHashQLookup
+xmlHashQLookup2
+xmlHashQLookup3
 xmlHashRemoveEntry
 xmlHashRemoveEntry2
 xmlHashRemoveEntry3
@@ -1160,6 +1173,7 @@
 xmlParserInputBufferCreateFilename
 xmlParserInputBufferCreateIO
 xmlParserInputBufferCreateMem
+xmlParserInputBufferCreateStatic
 xmlParserInputBufferGrow
 xmlParserInputBufferPush
 xmlParserInputBufferRead
@@ -1177,6 +1191,11 @@
 xmlPushInput
 xmlRMutexLock
 xmlRMutexUnlock
+xmlReadDoc
+xmlReadFd
+xmlReadFile
+xmlReadIO
+xmlReadMemory
 #ifdef DEBUG_MEMORY_LOCATION
 xmlReallocLoc
 #endif
@@ -1284,6 +1303,45 @@
 xmlRemoveProp
 xmlRemoveRef
 xmlReplaceNode
+xmlSAX2AttributeDecl
+xmlSAX2CDataBlock
+xmlSAX2Characters
+xmlSAX2CheckNamespace
+xmlSAX2Comment
+xmlSAX2ElementDecl
+xmlSAX2EndDocument
+xmlSAX2EndElement
+xmlSAX2EndElementNs
+xmlSAX2EntityDecl
+xmlSAX2ExternalSubset
+xmlSAX2GetColumnNumber
+xmlSAX2GetEntity
+xmlSAX2GetLineNumber
+xmlSAX2GetNamespace
+xmlSAX2GetParameterEntity
+xmlSAX2GetPublicId
+xmlSAX2GetSystemId
+xmlSAX2GlobalNamespace
+xmlSAX2HasExternalSubset
+xmlSAX2HasInternalSubset
+xmlSAX2IgnorableWhitespace
+xmlSAX2InitDefaultSAXHandler
+xmlSAX2InitDocbDefaultSAXHandler
+xmlSAX2InitHtmlDefaultSAXHandler
+xmlSAX2InternalSubset
+xmlSAX2IsStandalone
+xmlSAX2NamespaceDecl
+xmlSAX2NotationDecl
+xmlSAX2ProcessingInstruction
+xmlSAX2Reference
+xmlSAX2ResolveEntity
+xmlSAX2SetDocumentLocator
+xmlSAX2SetNamespace
+xmlSAX2StartDocument
+xmlSAX2StartElement
+xmlSAX2StartElementNs
+xmlSAX2UnparsedEntityDecl
+xmlSAXDefaultVersion
 xmlSAXParseDTD
 xmlSAXParseDoc
 xmlSAXParseEntity
@@ -1293,6 +1351,7 @@
 xmlSAXParseMemoryWithData
 xmlSAXUserParseFile
 xmlSAXUserParseMemory
+xmlSAXVersion
 xmlSaveFile
 xmlSaveFileEnc
 xmlSaveFileTo
@@ -1436,6 +1495,7 @@
 xmlSprintfElementContent
 xmlStopParser
 xmlStrEqual
+xmlStrQEqual
 xmlStrcasecmp
 xmlStrcasestr
 xmlStrcat
@@ -1445,6 +1505,7 @@
 xmlStringCurrentChar
 xmlStringDecodeEntities
 xmlStringGetNodeList
+xmlStringLenDecodeEntities
 xmlStringLenGetNodeList
 xmlStrlen
 xmlStrncasecmp
@@ -1461,6 +1522,13 @@
 xmlTextReaderAttributeCount
 xmlTextReaderBaseUri
 xmlTextReaderClose
+xmlTextReaderConstBaseUri
+xmlTextReaderConstLocalName
+xmlTextReaderConstName
+xmlTextReaderConstNamespaceUri
+xmlTextReaderConstPrefix
+xmlTextReaderConstString
+xmlTextReaderConstXmlLang
 xmlTextReaderCurrentDoc
 xmlTextReaderCurrentNode
 xmlTextReaderDepth