diff --git a/expat/doc/reference.html b/expat/doc/reference.html index 07ab8bb6..1e635bed 100644 --- a/expat/doc/reference.html +++ b/expat/doc/reference.html @@ -929,7 +929,8 @@ whether the parse can be resumed in the future.

Parser Creation

-
+

XML_ParserCreate

+
 XML_Parser XMLCALL
 XML_ParserCreate(const XML_Char *encoding);
 
@@ -946,7 +947,8 @@ encoding declaration. There are four built-in encodings: Any other value will invoke a call to the UnknownEncodingHandler. -
+

XML_ParserCreateNS

+
 XML_Parser XMLCALL
 XML_ParserCreateNS(const XML_Char *encoding,
                    XML_Char sep);
@@ -965,7 +967,8 @@ the local part will be concatenated without any separator - this is intended
 to support RDF processors. It is a programming error to use the null separator
 with namespace triplets.
 
-
+

XML_ParserCreate_MM

+
 XML_Parser XMLCALL
 XML_ParserCreate_MM(const XML_Char *encoding,
                     const XML_Memory_Handling_Suite *ms,
@@ -987,7 +990,8 @@ and the character pointed at by sep is used as the separator between
 the namespace URI and the local part of the name.

-
+

XML_ExternalEntityParserCreate

+
 XML_Parser XMLCALL
 XML_ExternalEntityParserCreate(XML_Parser p,
                                const XML_Char *context,
@@ -1003,7 +1007,8 @@ changing functions on this parser (unless you want it to act
 differently than the parent parser).
 
 
-
+

XML_ParserFree

+
 void XMLCALL
 XML_ParserFree(XML_Parser p);
 
@@ -1012,7 +1017,8 @@ Free memory used by the parser. Your application is responsible for freeing any memory associated with user data. -
+

XML_ParserReset

+
 XML_Bool XMLCALL
 XML_ParserReset(XML_Parser p,
                 const XML_Char *encoding);
@@ -1051,7 +1057,8 @@ exceed the maximum integer value. Input data at the end of a buffer
 will remain unprocessed if it is part of an XML token for which the
 end is not part of that buffer.

-
+

XML_Parse

+
 enum XML_Status XMLCALL
 XML_Parse(XML_Parser p,
           const char *s,
@@ -1078,7 +1085,8 @@ If a parse error occurred, it returns XML_STATUS_ERROR.
 Otherwise it returns XML_STATUS_OK value.
 
 
-
+

XML_ParseBuffer

+
 enum XML_Status XMLCALL
 XML_ParseBuffer(XML_Parser p,
                 int len,
@@ -1092,7 +1100,8 @@ buffer from Expat with the 
 
-
+

XML_GetBuffer

+
 void * XMLCALL
 XML_GetBuffer(XML_Parser p,
               int len);
@@ -1127,7 +1136,8 @@ for (;;) {
 
-
+

XML_StopParser

+
 enum XML_Status XMLCALL
 XML_StopParser(XML_Parser p,
                XML_Bool resumable);
@@ -1195,7 +1205,8 @@ implementation of that handler to call New in Expat 1.95.8.

-
+

XML_ResumeParser

+
 enum XML_Status XMLCALL
 XML_ResumeParser(XML_Parser p);
 
@@ -1220,7 +1231,8 @@ appropriate moment.

New in Expat 1.95.8.

-
+

XML_GetParsingStatus

+
 void XMLCALL
 XML_GetParsingStatus(XML_Parser p,
                      XML_ParsingStatus *status);
@@ -1269,7 +1281,8 @@ Note that you'll receive them in this form independent of the original
 encoding of the document.

-
+

XML_SetStartElementHandler

+
 void XMLCALL
 XML_SetStartElementHandler(XML_Parser p,
                            XML_StartElementHandler start);
@@ -1290,7 +1303,8 @@ by a null pointer.

-
+

XML_SetEndElementHandler

+
 void XMLCALL
 XML_SetEndElementHandler(XML_Parser p,
                          XML_EndElementHandler);
@@ -1305,7 +1319,8 @@ generates a call to both start and end handlers.

-
+

XML_SetElementHandler

+
 void XMLCALL
 XML_SetElementHandler(XML_Parser p,
                       XML_StartElementHandler start,
@@ -1315,7 +1330,8 @@ XML_SetElementHandler(XML_Parser p,
 
-
+

XML_SetCharacterDataHandler

+
 void XMLCALL
 XML_SetCharacterDataHandler(XML_Parser p,
                             XML_CharacterDataHandler charhndl)
@@ -1338,7 +1354,8 @@ will continue calling back until the end of the block is reached.

-
+

XML_SetProcessingInstructionHandler

+
 void XMLCALL
 XML_SetProcessingInstructionHandler(XML_Parser p,
                                     XML_ProcessingInstructionHandler proc)
@@ -1356,7 +1373,8 @@ it after skipping all whitespace after the initial word.

-
+

XML_SetCommentHandler

+
 void XMLCALL
 XML_SetCommentHandler(XML_Parser p,
                       XML_CommentHandler cmnt)
@@ -1371,7 +1389,8 @@ delimiters.

-
+

XML_SetStartCdataSectionHandler

+
 void XMLCALL
 XML_SetStartCdataSectionHandler(XML_Parser p,
                                 XML_StartCdataSectionHandler start);
@@ -1384,7 +1403,8 @@ typedef void
 
-
+

XML_SetEndCdataSectionHandler

+
 void XMLCALL
 XML_SetEndCdataSectionHandler(XML_Parser p,
                               XML_EndCdataSectionHandler end);
@@ -1397,7 +1417,8 @@ typedef void
 
-
+

XML_SetCdataSectionHandler

+
 void XMLCALL
 XML_SetCdataSectionHandler(XML_Parser p,
                            XML_StartCdataSectionHandler start,
@@ -1407,7 +1428,8 @@ XML_SetCdataSectionHandler(XML_Parser p,
 
-
+

XML_SetDefaultHandlerExpand

+
 void XMLCALL
 XML_SetDefaultHandlerExpand(XML_Parser p,
                             XML_DefaultHandler hndl)
@@ -1458,7 +1481,8 @@ href="#XML_DefaultCurrent">XML_DefaultCurrent.

-
+

XML_SetExternalEntityRefHandler

+
 void XMLCALL
 XML_SetExternalEntityRefHandler(XML_Parser p,
                                 XML_ExternalEntityRefHandler hndl)
@@ -1511,7 +1535,8 @@ parser, the body of the external entity can be recursively parsed.

information into global or static variables.

-
+

XML_SetExternalEntityRefHandlerArg

+
 void XMLCALL
 XML_SetExternalEntityRefHandlerArg(XML_Parser p,
                                    void *arg)
@@ -1537,7 +1562,8 @@ properly.

-
+

XML_SetSkippedEntityHandler

+
 void XMLCALL
 XML_SetSkippedEntityHandler(XML_Parser p,
                             XML_SkippedEntityHandler handler)
@@ -1564,7 +1590,8 @@ sync with the reporting of the declarations or attribute values

-
+

XML_SetUnknownEncodingHandler

+
 void XMLCALL
 XML_SetUnknownEncodingHandler(XML_Parser p,
                               XML_UnknownEncodingHandler enchandler,
@@ -1613,7 +1640,8 @@ parser when it is finished with the encoding. It may be NULL.

-
+

XML_SetStartNamespaceDeclHandler

+
 void XMLCALL
 XML_SetStartNamespaceDeclHandler(XML_Parser p,
 			         XML_StartNamespaceDeclHandler start);
@@ -1631,7 +1659,8 @@ in that start tag.

-
+

XML_SetEndNamespaceDeclHandler

+
 void XMLCALL
 XML_SetEndNamespaceDeclHandler(XML_Parser p,
 			       XML_EndNamespaceDeclHandler end);
@@ -1648,7 +1677,8 @@ namespace was declared.

-
+

XML_SetNamespaceDeclHandler

+
 void XMLCALL
 XML_SetNamespaceDeclHandler(XML_Parser p,
                             XML_StartNamespaceDeclHandler start,
@@ -1658,7 +1688,8 @@ XML_SetNamespaceDeclHandler(XML_Parser p,
 
-
+

XML_SetXmlDeclHandler

+
 void XMLCALL
 XML_SetXmlDeclHandler(XML_Parser p,
 		      XML_XmlDeclHandler xmldecl);
@@ -1681,7 +1712,8 @@ that it was given as yes.

-
+

XML_SetStartDoctypeDeclHandler

+
 void XMLCALL
 XML_SetStartDoctypeDeclHandler(XML_Parser p,
 			       XML_StartDoctypeDeclHandler start);
@@ -1701,7 +1733,8 @@ will be non-zero if the DOCTYPE declaration has an internal subset.

-
+

XML_SetEndDoctypeDeclHandler

+
 void XMLCALL
 XML_SetEndDoctypeDeclHandler(XML_Parser p,
 			     XML_EndDoctypeDeclHandler end);
@@ -1715,7 +1748,8 @@ after parsing any external subset.

-
+

XML_SetDoctypeDeclHandler

+
 void XMLCALL
 XML_SetDoctypeDeclHandler(XML_Parser p,
 			  XML_StartDoctypeDeclHandler start,
@@ -1725,7 +1759,8 @@ XML_SetDoctypeDeclHandler(XML_Parser p,
 
-
+

XML_SetElementDeclHandler

+
 void XMLCALL
 XML_SetElementDeclHandler(XML_Parser p,
 			  XML_ElementDeclHandler eldecl);
@@ -1797,7 +1832,8 @@ or sequence and children points to the nodes.

-
+

XML_SetAttlistDeclHandler

+
 void XMLCALL
 XML_SetAttlistDeclHandler(XML_Parser p,
                           XML_AttlistDeclHandler attdecl);
@@ -1830,7 +1866,8 @@ in the dflt parameter.

-
+

XML_SetEntityDeclHandler

+
 void XMLCALL
 XML_SetEntityDeclHandler(XML_Parser p,
 			 XML_EntityDeclHandler handler);
@@ -1864,7 +1901,8 @@ declarations.

-
+

XML_GetCurrentByteIndex

+
 XML_Index XMLCALL
 XML_GetCurrentByteIndex(XML_Parser p);
 
@@ -1971,7 +2014,8 @@ the values returned by XML_GetCurrentColumnNumber. -
+

XML_GetCurrentLineNumber

+
 XML_Size XMLCALL
 XML_GetCurrentLineNumber(XML_Parser p);
 
@@ -1980,7 +2024,8 @@ Return the line number of the position. The first line is reported as 1. -
+

XML_GetCurrentColumnNumber

+
 XML_Size XMLCALL
 XML_GetCurrentColumnNumber(XML_Parser p);
 
@@ -1989,7 +2034,8 @@ Return the offset, from the beginning of the current line, of the position. -
+

XML_GetCurrentByteCount

+
 int XMLCALL
 XML_GetCurrentByteCount(XML_Parser p);
 
@@ -2001,7 +2047,8 @@ be used to distinguish empty-element tags from empty elements using separate start and end tags). -
+

XML_GetInputContext

+
 const char * XMLCALL
 XML_GetInputContext(XML_Parser p,
                     int *offset,
@@ -2032,7 +2079,8 @@ return NULL.

The functions in this section either obtain state information from the parser or can be used to dynamically set parser options.

-
+

XML_SetUserData

+
 void XMLCALL
 XML_SetUserData(XML_Parser p,
                 void *userData);
@@ -2047,7 +2095,8 @@ the memory associated with it, then you've probably just leaked
 memory.
 
 
-
+

XML_GetUserData

+
 void * XMLCALL
 XML_GetUserData(XML_Parser p);
 
@@ -2056,7 +2105,8 @@ This returns the user data pointer that gets passed to handlers. It is actually implemented as a macro. -
+

XML_UseParserAsHandlerArg

+
 void XMLCALL
 XML_UseParserAsHandlerArg(XML_Parser p);
 
@@ -2067,7 +2117,8 @@ using the XML_GetUserData function. -
+

XML_SetBase

+
 enum XML_Status XMLCALL
 XML_SetBase(XML_Parser p,
             const XML_Char *base);
@@ -2079,7 +2130,8 @@ there's no memory to store base, otherwise it's
 XML_STATUS_OK.
 
 
-
+

XML_GetBase

+
 const XML_Char * XMLCALL
 XML_GetBase(XML_Parser p);
 
@@ -2087,7 +2139,8 @@ XML_GetBase(XML_Parser p); Return the base for resolving relative URIs. -
+

XML_GetSpecifiedAttributeCount

+
 int XMLCALL
 XML_GetSpecifiedAttributeCount(XML_Parser p);
 
@@ -2103,7 +2156,8 @@ call to a start handler. If called inside a start handler, then that means the current call. -
+

XML_GetIdAttributeIndex

+
 int XMLCALL
 XML_GetIdAttributeIndex(XML_Parser p);
 
@@ -2115,7 +2169,8 @@ attribute. If called inside a start handler, then that means the current call. -
+

XML_GetAttributeInfo

+
 const XML_AttrInfo * XMLCALL
 XML_GetAttributeInfo(XML_Parser parser);
 
@@ -2136,7 +2191,8 @@ as 1; thus the number of entries in the array is XML_GetSpecifiedAttributeCount(parser) / 2. -
+

XML_SetEncoding

+
 enum XML_Status XMLCALL
 XML_SetEncoding(XML_Parser p,
                 const XML_Char *encoding);
@@ -2151,7 +2207,8 @@ Returns XML_STATUS_OK on success or
 XML_STATUS_ERROR on error.
 
 
-
+

XML_SetParamEntityParsing

+
 int XMLCALL
 XML_SetParamEntityParsing(XML_Parser p,
                           enum XML_ParamEntityParsing code);
@@ -2171,7 +2228,8 @@ The choices for code are:
 no effect and will always return 0.
 
 
-
+

XML_SetHashSalt

+
 int XMLCALL
 XML_SetHashSalt(XML_Parser p,
                 unsigned long hash_salt);
@@ -2190,7 +2248,8 @@ that XML_SetHashSalt has not been called. Consequently
 such a call will have no effect, even if it returns 1.

-
+

XML_UseForeignDTD

+
 enum XML_Error XMLCALL
 XML_UseForeignDTD(XML_Parser parser, XML_Bool useDTD);
 
@@ -2227,7 +2286,8 @@ the document had a DTD with an external subset. This holds true even if the external entity reference handler returns without action.

-
+

XML_SetReturnNSTriplet

+
 void XMLCALL
 XML_SetReturnNSTriplet(XML_Parser parser,
                        int        do_nst);
@@ -2249,7 +2309,8 @@ default manner, URI then local_name separated by the namespace
 separator.

-
+

XML_DefaultCurrent

+
 void XMLCALL
 XML_DefaultCurrent(XML_Parser parser);
 
@@ -2263,7 +2324,8 @@ href="#XML_SetDefaultHandler" >XML_SetDefaultHandler or not a default handler. -
+

XML_ExpatVersion

+
 XML_LChar * XMLCALL
 XML_ExpatVersion();
 
@@ -2271,7 +2333,8 @@ XML_ExpatVersion(); Return the library version as a string (e.g. "expat_1.95.1"). -
+

XML_ExpatVersionInfo

+
 struct XML_Expat_Version XMLCALL
 XML_ExpatVersionInfo();
 
@@ -2295,7 +2358,8 @@ Testing these constants is currently the best way to determine if particular parts of the Expat API are available. -
+

XML_GetFeatureList

+
 const XML_Feature * XMLCALL
 XML_GetFeatureList();
 
@@ -2356,7 +2420,8 @@ time, the following features have been defined to have values:

-
+

XML_FreeContentModel

+
 void XMLCALL
 XML_FreeContentModel(XML_Parser parser, XML_Content *model);
 
@@ -2375,7 +2440,8 @@ applications. This can be essential when using dynamically loaded libraries which use different C standard libraries (this can happen on Windows, at least).

-
+

XML_MemMalloc

+
 void * XMLCALL
 XML_MemMalloc(XML_Parser parser, size_t size);
 
@@ -2387,7 +2453,8 @@ way must be freed using XML_MemFree. -
+

XML_MemRealloc

+
 void * XMLCALL
 XML_MemRealloc(XML_Parser parser, void *ptr, size_t size);
 
@@ -2406,7 +2473,8 @@ original block. Memory allocated in this way must be freed using >XML_MemFree. -
+

XML_MemFree

+
 void XMLCALL
 XML_MemFree(XML_Parser parser, void *ptr);