|
ReactOS 0.4.16-dev-2132-g3885311
|


Go to the source code of this file.
Macros | |
| #define | XML_VCTXT_DTD_VALIDATED (1u << 0) |
| #define | XML_VCTXT_USE_PCTXT (1u << 1) |
| #define | XML_INPUT_HAS_ENCODING (1u << 0) |
| #define | XML_INPUT_AUTO_ENCODING (7u << 1) |
| #define | XML_INPUT_AUTO_UTF8 (1u << 1) |
| #define | XML_INPUT_AUTO_UTF16LE (2u << 1) |
| #define | XML_INPUT_AUTO_UTF16BE (3u << 1) |
| #define | XML_INPUT_AUTO_OTHER (4u << 1) |
| #define | XML_INPUT_USES_ENC_DECL (1u << 4) |
| #define | XML_INPUT_ENCODING_ERROR (1u << 5) |
| XML_HIDDEN void __xmlErrEncoding | ( | xmlParserCtxtPtr | ctxt, |
| xmlParserErrors | xmlerr, | ||
| const char * | msg, | ||
| const xmlChar * | str1, | ||
| const xmlChar * | str2 | ||
| ) |
| static void LIBXML_ATTR_FORMAT | ( | 3 | , |
| 0 | |||
| ) |
xmlWarningMsg: @ctxt: an XML parser context @error: the error number @msg: the error message @str1: extra data @str2: extra data
Handle a warning.
xmlValidityError: @ctxt: an XML parser context @error: the error number @msg: the error message @str1: extra data
Handle a validity error.
xmlFatalErrMsgInt: @ctxt: an XML parser context @error: the error number @msg: the error message @val: an integer value
Handle a fatal parser error, i.e. violating Well-Formedness constraints
xmlFatalErrMsgStrIntStr: @ctxt: an XML parser context @error: the error number @msg: the error message @str1: an string info @val: an integer value @str2: an string info
Handle a fatal parser error, i.e. violating Well-Formedness constraints
xmlFatalErrMsgStr: @ctxt: an XML parser context @error: the error number @msg: the error message @val: a string value
Handle a fatal parser error, i.e. violating Well-Formedness constraints
xmlErrMsgStr: @ctxt: an XML parser context @error: the error number @msg: the error message @val: a string value
Handle a non fatal parser error
xmlNsErr: @ctxt: an XML parser context @error: the error number @msg: the message @info1: extra information string @info2: extra information string
Handle a fatal parser error, i.e. violating Well-Formedness constraints
xmlNsWarn @ctxt: an XML parser context @error: the error number @msg: the message @info1: extra information string @info2: extra information string
Handle a namespace warning error
xmlFatalErrMsg: @ctxt: an XML parser context @error: the error number @msg: the error message @str1: an error string @str2: an error string
Handle a fatal parser error, i.e. violating Well-Formedness constraints
xmlWarnMsg: @ctxt: an XML parser context @error: the error number @msg: the error message @str1: an error string @str2: an error string
Handle a parser warning
xmlNsWarnMsg: @ctxt: an XML parser context @error: the error number @msg: the error message @str1: an error string
Handle a namespace warning
Definition at line 303 of file parser.c.
| XML_HIDDEN void xmlDetectEncoding | ( | xmlParserCtxtPtr | ctxt | ) |
xmlDetectEncoding: @ctxt: the parser context
Handle optional BOM, detect and switch to encoding.
Assumes that there are at least four bytes in the input buffer.
Definition at line 1309 of file parserInternals.c.
Referenced by xmlLoadEntityContent(), xmlParseDocument(), xmlParseExternalEntityPrivate(), xmlParseExternalSubset(), xmlParseExtParsedEnt(), and xmlParsePEReference().
| XML_HIDDEN void xmlErrMemory | ( | xmlParserCtxtPtr | ctxt, |
| const char * | extra | ||
| ) |
xmlErrMemory: @ctxt: an XML parser context @extra: extra information
Handle a redefinition of attribute error
Definition at line 102 of file parserInternals.c.
Referenced by inputPush(), nameNsPush(), namePush(), nodePush(), spacePush(), xmlAddDefAttrs(), xmlAddSpecialAttr(), xmlAttrNormalizeSpace2(), xmlCreateURLParserCtxt(), xmlCtxtGrowAttrs(), xmlDetectSAX2(), xmlInitSAXParserCtxt(), xmlLoadEntityContent(), xmlNewInputStream(), xmlNewSAXParserCtxt(), xmlNewStringInputStream(), xmlParseAttValueComplex(), xmlParseCDSect(), xmlParseComment(), xmlParseCommentComplex(), xmlParseConditionalSections(), xmlParseElementChildrenContentDeclPriv(), xmlParseEncName(), xmlParseEntityDecl(), xmlParseEntityValue(), xmlParseExternalSubset(), xmlParseName(), xmlParseNCName(), xmlParseNmtoken(), xmlParsePI(), xmlParsePubidLiteral(), xmlParserAddNodeInfo(), xmlParserGrow(), xmlParserNsGrow(), xmlParserNsPush(), xmlParseStartTag2(), xmlParseStringName(), xmlParseSystemLiteral(), xmlParseVersionNum(), xmlSAX2TextNode(), xmlSplitQName(), and xmlStringDecodeEntitiesInt().
| XML_HIDDEN void xmlFatalErr | ( | xmlParserCtxtPtr | ctxt, |
| xmlParserErrors | error, | ||
| const char * | info | ||
| ) |
xmlFatalErr: @ctxt: an XML parser context @error: the error number @info: extra information string
Handle a fatal parser error, i.e. violating Well-Formedness constraints
Definition at line 189 of file parserInternals.c.
Referenced by xmlCtxtResetPush(), xmlLoadEntityContent(), xmlParseAttValueComplex(), xmlParseAttValueInternal(), xmlParseBalancedChunkMemoryInternal(), xmlParseCDSect(), xmlParseCharDataComplex(), xmlParseCharDataInternal(), xmlParseCharRef(), xmlParseCommentComplex(), xmlParseConditionalSections(), xmlParseDocTypeDecl(), xmlParseDocument(), xmlParseElementChildrenContentDeclPriv(), xmlParseElementDecl(), xmlParseElementMixedContentDecl(), xmlParseEncName(), xmlParseEncodingDecl(), xmlParseEndTag2(), xmlParseEntityDecl(), xmlParseEntityRef(), xmlParseEntityValue(), xmlParseEnumerationType(), xmlParseExternalEntityPrivate(), xmlParseExternalID(), xmlParseExternalSubset(), xmlParseExtParsedEnt(), xmlParseInNodeContext(), xmlParseInternalSubset(), xmlParseName(), xmlParseNameComplex(), xmlParseNCName(), xmlParseNCNameComplex(), xmlParseNmtoken(), xmlParseNotationDecl(), xmlParseNotationType(), xmlParsePEReference(), xmlParsePI(), xmlParsePITarget(), xmlParsePubidLiteral(), xmlParseReference(), xmlParserGrow(), xmlParserHandlePEReference(), xmlParseSDDecl(), xmlParseStartTag2(), xmlParseStringCharRef(), xmlParseStringEntityRef(), xmlParseStringName(), xmlParseStringPEReference(), xmlParseSystemLiteral(), xmlParseTextDecl(), xmlParseVersionInfo(), xmlParseXMLDecl(), xmlPopInput(), xmlPushInput(), and xmlStringDecodeEntitiesInt().
| XML_HIDDEN const xmlChar * xmlGetActualEncoding | ( | xmlParserCtxtPtr | ctxt | ) |
xmlGetActualEncoding: @ctxt: the parser context
Returns the actual used to parse the document. This can differ from the declared encoding.
Definition at line 1490 of file parserInternals.c.
Referenced by xmlSAX2EndDocument().
| XML_HIDDEN void XML_HIDDEN void xmlHaltParser | ( | xmlParserCtxtPtr | ctxt | ) |
xmlHaltParser: @ctxt: an XML parser context
Blocks further parser processing don't override error for internal use
Definition at line 461 of file parserInternals.c.
Referenced by nodePush(), xmlCtxtResetPush(), xmlParseConditionalSections(), xmlParseElementStart(), xmlParseEntityDecl(), xmlParseExternalSubset(), xmlParseInternalSubset(), xmlParsePEReference(), xmlParseReference(), xmlParserEntityCheck(), xmlParserGrow(), xmlStopParser(), xmlStringDecodeEntitiesInt(), and xmlSwitchInputEncoding().
| XML_HIDDEN int xmlParserGrow | ( | xmlParserCtxtPtr | ctxt | ) |
xmlParserGrow: @ctxt: an XML parser context
Grow the input buffer.
Returns the number of bytes read or -1 in case of error.
Definition at line 511 of file parserInternals.c.
Referenced by xmlCurrentChar(), xmlDetectEncoding(), xmlNextChar(), xmlPopInput(), and xmlSkipBlankChars().
| XML_HIDDEN xmlParserNsData * xmlParserNsCreate | ( | void | ) |
xmlParserNsCreate:
Create a new namespace database.
Returns the new obejct.
Definition at line 1413 of file parser.c.
Referenced by xmlInitSAXParserCtxt().
| XML_HIDDEN void xmlParserNsFree | ( | xmlParserNsData * | nsdb | ) |
xmlParserNsFree: @nsdb: namespace database
Free a namespace database.
Definition at line 1431 of file parser.c.
Referenced by xmlFreeParserCtxt().
| XML_HIDDEN void * xmlParserNsLookupSax | ( | xmlParserCtxtPtr | ctxt, |
| const xmlChar * | prefix | ||
| ) |
xmlParserNsLookupSax: @ctxt: parser context @prefix: namespace prefix
Lookup extra data for the given prefix. This returns data stored with xmlParserNsUdpateSax.
Returns the data on success, NULL if no namespace was found.
Definition at line 1569 of file parser.c.
Referenced by xmlSAX2AttributeNs(), and xmlSAX2StartElementNs().
| XML_HIDDEN int xmlParserNsUpdateSax | ( | xmlParserCtxtPtr | ctxt, |
| const xmlChar * | prefix, | ||
| void * | saxData | ||
| ) |
xmlParserNsUpdateSax: @ctxt: parser context @prefix: namespace prefix @saxData: extra data for SAX handler
Sets or updates extra data for the given prefix. This value will be returned by xmlParserNsLookupSax as long as the namespace with the given prefix is in scope.
Returns the data on success, NULL if no namespace was found.
Definition at line 1601 of file parser.c.
Referenced by xmlSAX2StartElementNs().
| XML_HIDDEN void xmlParserShrink | ( | xmlParserCtxtPtr | ctxt | ) |
xmlParserShrink: @ctxt: an XML parser context
Shrink the input buffer.
Definition at line 607 of file parserInternals.c.
| XML_HIDDEN void xmlSetDeclaredEncoding | ( | xmlParserCtxtPtr | ctxt, |
| xmlChar * | encoding | ||
| ) |
xmlSetDeclaredEncoding: @ctxt: the parser context @encoding: declared encoding
Set the encoding from a declaration in the document.
If no encoding was set yet, switch the encoding. Otherwise, only warn about encoding mismatches.
Takes ownership of 'encoding'.
Definition at line 1414 of file parserInternals.c.
Referenced by xmlParseEncodingDecl().
| XML_HIDDEN void xmlParserErrors error |
Definition at line 35 of file parser.h.
Referenced by __xmlErrEncoding(), _mbscmp(), _mbscoll(), _mbscoll_l(), _mbscspn(), _mbsicmp(), _mbsicoll(), _mbsicoll_l(), _mbsnbcmp(), _mbsnbcoll(), _mbsnbcoll_l(), _mbsnbicoll(), _mbsnbicoll_l(), _mbsncmp(), _mbsncoll(), _mbsspn(), _mbsspnp(), _mbsstr(), _mbsstr_l(), _strcoll_l(), _stricmp(), _stricoll(), _stricoll_l(), _strncoll(), _strncoll_l(), _strnicoll(), _strnicoll_l(), _strspnp(), _wcscoll_l(), _wcsicmp(), _wcsicmp_l(), _wcsicoll(), _wcsicoll_l(), _wcsncoll(), _wcsncoll_l(), _wcsnicmp(), _wcsnicmp_l(), _wcsnicoll(), _wcsnicoll_l(), StringTest::allocator_with_state(), array_tests(), StringTest::assign(), char_compare(), cmp_string(), LocaleTest::collate_by_name(), LocaleTest::collate_facet(), COMCTL32_ChrCmpHelperA(), StringTest::compare(), compare1(), compare_case_weights(), compare_diacritic_weights(), compare_unicode_weights(), compare_weights(), CCabFolder::CompareID(), CompareStringA(), CompareStringEx(), CompareStringOrdinal(), CompareStringW(), dns_strcmpX(), DoEntry(), FileMonikerImpl_ComposeWith(), FileMonikerImpl_RelativePathTo(), Global_InStr(), Global_InStrRev(), StringTest::insert(), is_matching_string(), jsstr_cmp(), jsstr_concat(), KdbpCmdBreakPointList(), KdbpCmdProc(), KdbpCmdThread(), LIBXML_ATTR_FORMAT(), LISTBOX_lstrcmpiW(), lstrcmpA(), lstrcmpiA(), lstrcmpiW(), lstrcmpW(), lwip_stricmp(), lwip_strnicmp(), MACRO_ALink(), MACRO_AppendItem(), MACRO_ChangeItemBinding(), MACRO_ControlPanel(), MACRO_ExtInsertItem(), MACRO_ExtInsertMenu(), MACRO_InsertItem(), MACRO_InsertMenu(), MACRO_KLink(), MACRO_PopupId(), MACRO_ShellExecute(), MACRO_ShortCut(), MACRO_UpdateWindow(), memicmpW(), msi_option_equal(), msi_option_prefix(), msi_strequal(), msi_strprefix(), option_equal(), tinyxml2::XMLDocument::SetError(), SHLWAPI_ChrCmpHelperA(), StringTest::short_string(), strcmp(), strcmp_key(), strcmp_w(), strcmp_wa(), strcmpiW(), strcmpW(), strcoll(), string_off_equal(), strncasecmp(), strncmp(), strncmpiW(), strncmpW(), strval_eq(), test__strnicmp(), test__strnicmp_l(), test__tcscoll(), test__tcsncoll(), test__tcsnicoll(), test__wcsicmp_l(), test_aclist_expand(), test_CompareStringW(), test_EM_GETHANDLE(), test_mbsspn(), test_mbsspnp(), test_prefix_filtering(), test_quoted_RDN(), test_RtlCompareUnicodeString(), test_StrCmpA(), test_StrCmpW(), test_StrXXX_overflows(), test_VarBstrCat(), test_VarDiv(), test_VarIdiv(), test_wcsnicmp(), test_XMLHTTP(), uacpi_strlen(), uacpi_strnlen(), UpdSpSetDynamicStringA(), wcscmp(), wcscoll(), wcsicoll(), wcsncmp(), wcsnicmp(), Widget_DoSomething(), wine_compare_string(), winetest_strcmpW(), xmlStrcasecmp(), xmlStrcmp(), xmlStrEqual(), xmlStrncasecmp(), xmlStrncatNew(), xmlStrncmp(), and xsltLocaleStrcmp().
Definition at line 35 of file parser.h.
Referenced by __xmlErrEncoding(), _mbscmp(), _mbscoll(), _mbscoll_l(), _mbscspn(), _mbsicmp(), _mbsicoll(), _mbsicoll_l(), _mbsnbcmp(), _mbsnbcoll(), _mbsnbcoll_l(), _mbsnbicoll(), _mbsnbicoll_l(), _mbsncmp(), _mbsncoll(), _mbsspn(), _mbsspnp(), _mbsstr(), _mbsstr_l(), _strcoll_l(), _strdec(), _stricmp(), _stricoll(), _stricoll_l(), _strncoll(), _strncoll_l(), _strnicoll(), _strnicoll_l(), _strspnp(), _wcscoll_l(), _wcsicmp(), _wcsicmp_l(), _wcsicoll(), _wcsicoll_l(), _wcsncoll(), _wcsncoll_l(), _wcsnicmp(), _wcsnicmp_l(), _wcsnicoll(), _wcsnicoll_l(), StringTest::allocator_with_state(), StringTest::assign(), char_compare(), cmp_string(), LocaleTest::collate_by_name(), LocaleTest::collate_facet(), COMCTL32_ChrCmpHelperA(), StringTest::compare(), compare1(), compare_case_weights(), compare_diacritic_weights(), compare_unicode_weights(), compare_weights(), CCabFolder::CompareID(), CompareStringA(), CompareStringEx(), CompareStringOrdinal(), CompareStringW(), dns_strcmpX(), _Messages::do_get(), DoEntry(), FileMonikerImpl_ComposeWith(), FileMonikerImpl_RelativePathTo(), Global_InStr(), Global_InStrRev(), HandleList_Update(), iframe_onreadystatechange(), StringTest::insert(), is_matching_string(), jsstr_cmp(), jsstr_concat(), KdbpCmdBreakPointList(), KdbpCmdProc(), KdbpCmdThread(), LIBXML_ATTR_FORMAT(), LISTBOX_lstrcmpiW(), lstrcmpA(), lstrcmpiA(), lstrcmpiW(), lstrcmpW(), lwip_stricmp(), lwip_strnicmp(), MACRO_ALink(), MACRO_AppendItem(), MACRO_ChangeItemBinding(), MACRO_ControlPanel(), MACRO_ExtInsertItem(), MACRO_ExtInsertMenu(), MACRO_InsertItem(), MACRO_InsertMenu(), MACRO_KLink(), MACRO_PopupId(), MACRO_ShellExecute(), MACRO_ShortCut(), MACRO_UpdateWindow(), memicmpW(), msi_option_equal(), msi_option_prefix(), msi_strequal(), msi_strprefix(), node_put_text(), option_equal(), CHttpClient::SendFile(), tinyxml2::XMLDocument::SetError(), SHLWAPI_ChrCmpHelperA(), strcmp(), strcmp_key(), strcmp_w(), strcmp_wa(), strcmpiW(), strcmpW(), strcoll(), string_off_equal(), strncasecmp(), strncmp(), strncmpiW(), strncmpW(), strval_eq(), test__strnicmp(), test__strnicmp_l(), test__strupr(), test__tcscoll(), test__tcsncoll(), test__tcsnicoll(), test__wcsicmp_l(), test_aclist_expand(), test_bstr_cache(), test_CompareStringW(), test_cookies(), test_edit_control_3(), test_EM_GETHANDLE(), test_GetAltMonthNames(), test_mbsspn(), test_mbsspnp(), test_mxwriter_properties(), test_name_limits(), test_paste(), test_prefix_filtering(), test_put_href(), test_quoted_RDN(), test_RtlCompareUnicodeString(), test_StrCmpA(), test_StrCmpW(), test_user_agent(), test_VarBstrCat(), test_VarDiv(), test_VarIdiv(), test_VarPow(), test_wcsnicmp(), UpdSpSetDynamicStringA(), wcscmp(), wcscoll(), wcsicoll(), wcsncmp(), wcsnicmp(), Widget_DoSomething(), wine_compare_string(), winetest_strcmpW(), xmlStrcasecmp(), xmlStrcmp(), xmlStrEqual(), xmlStrncasecmp(), xmlStrncatNew(), xmlStrncmp(), and xsltLocaleStrcmp().