|
ReactOS 0.4.16-dev-2207-geb15453
|
#include <assert.h>#include <stdarg.h>#include <libxml/xmlerror.h>#include <libxml/tree.h>#include <libxml/xmlschemas.h>#include <libxml/schemasInternals.h>#include <libxml/hash.h>#include <libxml/parser.h>#include <libxml/parserInternals.h>#include <libxml/xmlIO.h>#include <libxml/xmlversion.h>#include <libxml/xpath.h>#include "windef.h"#include "winbase.h"#include "winuser.h"#include "ole2.h"#include "msxml6.h"#include "wine/debug.h"#include "msxml_private.h"
Go to the source code of this file.
Classes | |
| struct | schema_cache |
| struct | cache_entry |
Macros | |
| #define | COBJMACROS |
| #define | DEFAULT_HASHTABLE_SIZE 17 |
| #define | DT_MIN_STR_LEN 2 |
| #define | DT_MAX_STR_LEN 11 |
| #define | DT_MIN_HASH_VALUE 2 |
| #define | DT_MAX_HASH_VALUE 115 |
Enumerations | |
| enum | CacheEntryType { CacheEntryType_Invalid , CacheEntryType_XDR , CacheEntryType_XSD , CacheEntryType_NS } |
Variables | |
| static const xmlChar | XSD_schema [] = "schema" |
| static const xmlChar | XSD_nsURI [] = "http://www.w3.org/2001/XMLSchema" |
| static const xmlChar | XDR_schema [] = "Schema" |
| static const xmlChar | XDR_nsURI [] = "urn:schemas-microsoft-com:xml-data" |
| static const xmlChar | DT_nsURI [] = "urn:schemas-microsoft-com:datatypes" |
| static xmlChar * | datatypes_src |
| static int | datatypes_len |
| static HGLOBAL | datatypes_handle |
| static HRSRC | datatypes_rsrc |
| static xmlSchemaPtr | datatypes_schema |
| static const WCHAR | emptyW [] = {0} |
| static const tid_t | schema_cache_se_tids [] |
| static const xmlChar | DT_bin_base64 [] = "bin.base64" |
| static const xmlChar | DT_bin_hex [] = "bin.hex" |
| static const xmlChar | DT_boolean [] = "boolean" |
| static const xmlChar | DT_char [] = "char" |
| static const xmlChar | DT_date [] = "date" |
| static const xmlChar | DT_date_tz [] = "date.tz" |
| static const xmlChar | DT_dateTime [] = "dateTime" |
| static const xmlChar | DT_dateTime_tz [] = "dateTime.tz" |
| static const xmlChar | DT_entity [] = "entity" |
| static const xmlChar | DT_entities [] = "entities" |
| static const xmlChar | DT_enumeration [] = "enumeration" |
| static const xmlChar | DT_fixed_14_4 [] = "fixed.14.4" |
| static const xmlChar | DT_float [] = "float" |
| static const xmlChar | DT_i1 [] = "i1" |
| static const xmlChar | DT_i2 [] = "i2" |
| static const xmlChar | DT_i4 [] = "i4" |
| static const xmlChar | DT_i8 [] = "i8" |
| static const xmlChar | DT_id [] = "id" |
| static const xmlChar | DT_idref [] = "idref" |
| static const xmlChar | DT_idrefs [] = "idrefs" |
| static const xmlChar | DT_int [] = "int" |
| static const xmlChar | DT_nmtoken [] = "nmtoken" |
| static const xmlChar | DT_nmtokens [] = "nmtokens" |
| static const xmlChar | DT_notation [] = "notation" |
| static const xmlChar | DT_number [] = "number" |
| static const xmlChar | DT_r4 [] = "r4" |
| static const xmlChar | DT_r8 [] = "r8" |
| static const xmlChar | DT_string [] = "string" |
| static const xmlChar | DT_time [] = "time" |
| static const xmlChar | DT_time_tz [] = "time.tz" |
| static const xmlChar | DT_ui1 [] = "ui1" |
| static const xmlChar | DT_ui2 [] = "ui2" |
| static const xmlChar | DT_ui4 [] = "ui4" |
| static const xmlChar | DT_ui8 [] = "ui8" |
| static const xmlChar | DT_uri [] = "uri" |
| static const xmlChar | DT_uuid [] = "uuid" |
| static const OLECHAR | wDT_bin_base64 [] = {'b','i','n','.','b','a','s','e','6','4',0} |
| static const OLECHAR | wDT_bin_hex [] = {'b','i','n','.','h','e','x',0} |
| static const OLECHAR | wDT_boolean [] = {'b','o','o','l','e','a','n',0} |
| static const OLECHAR | wDT_char [] = {'c','h','a','r',0} |
| static const OLECHAR | wDT_date [] = {'d','a','t','e',0} |
| static const OLECHAR | wDT_date_tz [] = {'d','a','t','e','.','t','z',0} |
| static const OLECHAR | wDT_dateTime [] = {'d','a','t','e','T','i','m','e',0} |
| static const OLECHAR | wDT_dateTime_tz [] = {'d','a','t','e','T','i','m','e','.','t','z',0} |
| static const OLECHAR | wDT_entity [] = {'e','n','t','i','t','y',0} |
| static const OLECHAR | wDT_entities [] = {'e','n','t','i','t','i','e','s',0} |
| static const OLECHAR | wDT_enumeration [] = {'e','n','u','m','e','r','a','t','i','o','n',0} |
| static const OLECHAR | wDT_fixed_14_4 [] = {'f','i','x','e','d','.','1','4','.','4',0} |
| static const OLECHAR | wDT_float [] = {'f','l','o','a','t',0} |
| static const OLECHAR | wDT_i1 [] = {'i','1',0} |
| static const OLECHAR | wDT_i2 [] = {'i','2',0} |
| static const OLECHAR | wDT_i4 [] = {'i','4',0} |
| static const OLECHAR | wDT_i8 [] = {'i','8',0} |
| static const OLECHAR | wDT_id [] = {'i','d',0} |
| static const OLECHAR | wDT_idref [] = {'i','d','r','e','f',0} |
| static const OLECHAR | wDT_idrefs [] = {'i','d','r','e','f','s',0} |
| static const OLECHAR | wDT_int [] = {'i','n','t',0} |
| static const OLECHAR | wDT_nmtoken [] = {'n','m','t','o','k','e','n',0} |
| static const OLECHAR | wDT_nmtokens [] = {'n','m','t','o','k','e','n','s',0} |
| static const OLECHAR | wDT_notation [] = {'n','o','t','a','t','i','o','n',0} |
| static const OLECHAR | wDT_number [] = {'n','u','m','b','e','r',0} |
| static const OLECHAR | wDT_r4 [] = {'r','4',0} |
| static const OLECHAR | wDT_r8 [] = {'r','8',0} |
| static const OLECHAR | wDT_string [] = {'s','t','r','i','n','g',0} |
| static const OLECHAR | wDT_time [] = {'t','i','m','e',0} |
| static const OLECHAR | wDT_time_tz [] = {'t','i','m','e','.','t','z',0} |
| static const OLECHAR | wDT_ui1 [] = {'u','i','1',0} |
| static const OLECHAR | wDT_ui2 [] = {'u','i','2',0} |
| static const OLECHAR | wDT_ui4 [] = {'u','i','4',0} |
| static const OLECHAR | wDT_ui8 [] = {'u','i','8',0} |
| static const OLECHAR | wDT_uri [] = {'u','r','i',0} |
| static const OLECHAR | wDT_uuid [] = {'u','u','i','d',0} |
| static const BYTE | hash_assoc_values [] |
| static const struct enumvariant_funcs | schemacache_enumvariant |
| static const xmlChar *const | DT_string_table [LAST_DT] |
| static const WCHAR *const | DT_wstring_table [LAST_DT] |
| static const XDR_DT | DT_lookup_table [] |
| static xmlExternalEntityLoader | _external_entity_loader |
| static const struct IXMLDOMSchemaCollection2Vtbl | XMLDOMSchemaCollection2Vtbl |
| static const tid_t | schemacache_iface_tids [] |
| static dispex_static_data_t | schemacache_dispex |
| Enumerator | |
|---|---|
| CacheEntryType_Invalid | |
| CacheEntryType_XDR | |
| CacheEntryType_XSD | |
| CacheEntryType_NS | |
Definition at line 82 of file schema.c.
Definition at line 555 of file schema.c.
Referenced by domelem_put_dataType().
|
static |
Definition at line 988 of file schema.c.
Referenced by cache_copy(), cache_from_doc_ns(), and schema_cache_add().
Definition at line 1385 of file schema.c.
Referenced by schema_cache_addCollection().
|
static |
Definition at line 755 of file schema.c.
Referenced by cache_copy(), and schema_cache_add().
|
static |
Definition at line 919 of file schema.c.
Referenced by schema_cache_add().
|
static |
Definition at line 886 of file schema.c.
Referenced by cache_entry_from_url(), and schema_cache_add().
|
static |
Definition at line 855 of file schema.c.
Referenced by cache_entry_from_url(), and schema_cache_add().
|
static |
Definition at line 762 of file schema.c.
Referenced by cache_free().
Definition at line 968 of file schema.c.
Referenced by cache_add_entry(), cache_remove_entry(), and schema_cache_Release().
|
static |
Definition at line 974 of file schema.c.
Referenced by cache_add_entry(), and cache_remove_entry().
| HRESULT cache_from_doc_ns | ( | IXMLDOMSchemaCollection2 * | iface, |
| xmlnode * | node | ||
| ) |
Definition at line 1028 of file schema.c.
Referenced by domdoc_get_namespaces().
|
static |
Definition at line 1009 of file schema.c.
Referenced by schema_cache_add(), and schema_cache_remove().
|
inlinestatic |
Definition at line 805 of file schema.c.
Referenced by cache_entry_from_url(), and schema_cache_add().
Definition at line 585 of file schema.c.
Referenced by domelem_put_dataType(), domelem_put_nodeTypedValue(), dt_validate(), element_get_dt(), and variant_from_dt().
Definition at line 313 of file schema.c.
Referenced by str_to_dt().
Definition at line 356 of file schema.c.
Referenced by bstr_to_dt().
Definition at line 577 of file schema.c.
Referenced by domelem_get_dataType().
Definition at line 569 of file schema.c.
Referenced by domelem_put_dataType(), and dt_validate().
Definition at line 590 of file schema.c.
Referenced by domelem_put_dataType().
|
static |
Definition at line 691 of file schema.c.
Referenced by link_datatypes(), and schemasInit().
|
inlinestatic |
Definition at line 672 of file schema.c.
Referenced by get_node_schema(), lookup_schema_elemDecl(), and SchemaCache_validate_tree().
|
inlinestatic |
Definition at line 683 of file schema.c.
Referenced by SchemaCache_get_node_dt(), and SchemaCache_validate_tree().
|
inlinestatic |
Definition at line 795 of file schema.c.
Referenced by unsafe_impl_from_IXMLDOMSchemaCollection().
|
inlinestatic |
Definition at line 790 of file schema.c.
Referenced by cache_from_doc_ns(), schema_cache_add(), schema_cache_addCollection(), schema_cache_AddRef(), schema_cache_get(), schema_cache_get__newEnum(), schema_cache_get_length(), schema_cache_get_namespaceURI(), schema_cache_get_validateOnLoad(), schema_cache_getDeclaration(), schema_cache_GetIDsOfNames(), schema_cache_getSchema(), schema_cache_GetTypeInfo(), schema_cache_GetTypeInfoCount(), schema_cache_Invoke(), schema_cache_put_validateOnLoad(), schema_cache_QueryInterface(), schema_cache_Release(), schema_cache_remove(), schema_cache_validate(), SchemaCache_get_node_dt(), and SchemaCache_validate_tree().
|
static |
Definition at line 827 of file schema.c.
Referenced by cache_entry_from_xdr_doc(), and cache_entry_from_xsd_doc().
|
static |
Definition at line 1503 of file schema.c.
Referenced by lookup_schema_element().
|
inlinestatic |
Definition at line 1529 of file schema.c.
Referenced by SchemaCache_get_node_dt().
|
static |
|
static |
|
static |
Definition at line 1188 of file schema.c.
|
static |
Definition at line 1397 of file schema.c.
|
static |
|
static |
Definition at line 1307 of file schema.c.
|
static |
Definition at line 1421 of file schema.c.
Definition at line 281 of file schema.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1079 of file schema.c.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 251 of file schema.c.
Referenced by cache_entry_from_xdr_doc(), cache_entry_from_xsd_doc(), dt_validate(), parser_error(), parser_serror(), and parser_warning().
|
inlinestatic |
Definition at line 292 of file schema.c.
Referenced by dt_validate(), SchemaCache_validate_tree(), validate_error(), validate_serror(), and validate_warning().
| HRESULT SchemaCache_create | ( | MSXML_VERSION | version, |
| void ** | obj | ||
| ) |
Definition at line 1601 of file schema.c.
Referenced by DllGetClassObject(), and domdoc_get_namespaces().
| XDR_DT SchemaCache_get_node_dt | ( | IXMLDOMSchemaCollection2 * | iface, |
| xmlNodePtr | node | ||
| ) |
Definition at line 1561 of file schema.c.
Referenced by element_get_dt().
| HRESULT SchemaCache_validate_tree | ( | IXMLDOMSchemaCollection2 * | iface, |
| xmlNodePtr | tree | ||
| ) |
Definition at line 1537 of file schema.c.
Referenced by domdoc_validateNode().
Definition at line 748 of file schema.c.
Referenced by DllMain().
Definition at line 717 of file schema.c.
Referenced by DllMain().
Definition at line 541 of file schema.c.
Referenced by element_get_dt(), and SchemaCache_get_node_dt().
|
inlinestatic |
Definition at line 800 of file schema.c.
Referenced by schema_cache_addCollection().
|
static |
Definition at line 276 of file schema.c.
Referenced by Schema_validate_tree().
|
static |
| WINE_DEFAULT_DEBUG_CHANNEL | ( | msxml | ) |
Definition at line 810 of file xdr.c.
Referenced by cache_entry_from_xdr_doc().
|
static |
Definition at line 689 of file schema.c.
Referenced by external_entity_loader(), schemasCleanup(), and schemasInit().
|
static |
Definition at line 67 of file schema.c.
Referenced by external_entity_loader(), and schemasInit().
|
static |
Definition at line 66 of file schema.c.
Referenced by dt_validate(), and schemasInit().
|
static |
Definition at line 68 of file schema.c.
Referenced by external_entity_loader(), and schemasInit().
|
static |
Definition at line 69 of file schema.c.
Referenced by dt_validate(), and schemasCleanup().
|
static |
Definition at line 65 of file schema.c.
Referenced by dt_validate(), external_entity_loader(), schemasCleanup(), and schemasInit().
Definition at line 479 of file schema.c.
Referenced by bstr_to_dt(), and str_to_dt().
Definition at line 63 of file schema.c.
Referenced by dt_validate(), link_datatypes(), SchemaCache_get_node_dt(), and schemasInit().
Definition at line 399 of file schema.c.
Referenced by debugstr_dt(), dt_to_str(), and str_to_dt().
Definition at line 439 of file schema.c.
Referenced by bstr_to_dt(), and dt_to_bstr().
Definition at line 71 of file schema.c.
Referenced by schema_cache_add(), schema_cache_get(), and schema_cache_remove().
Definition at line 200 of file schema.c.
Referenced by dt_hash(), and dt_hash_bstr().
Definition at line 113 of file schema.c.
Referenced by schema_cache_QueryInterface().
|
static |
Definition at line 1594 of file schema.c.
Referenced by SchemaCache_create().
|
static |
Definition at line 287 of file schema.c.
Referenced by schema_cache_get__newEnum().
Definition at line 62 of file schema.c.
Referenced by cache_type_from_xmlDocPtr().
Definition at line 61 of file schema.c.
Referenced by cache_type_from_xmlDocPtr().
Definition at line 788 of file schema.c.
Referenced by SchemaCache_create(), and unsafe_impl_from_IXMLDOMSchemaCollection().
|
static |
Definition at line 60 of file schema.c.
Referenced by cache_type_from_xmlDocPtr().
Definition at line 59 of file schema.c.
Referenced by cache_type_from_xmlDocPtr().