68 'h',
't',
't',
'p',
':',
'/',
'/',
'x',
'm',
'l',
'.',
'o',
'r',
'g',
'/',
's',
'a',
'x',
'/',
69 'f',
'e',
'a',
't',
'u',
'r',
'e',
's',
'/',
'e',
'x',
't',
'e',
'r',
'n',
'a',
'l',
'-',
'g',
'e',
'n',
'e',
'r',
'a',
'l',
70 '-',
'e',
'n',
't',
'i',
't',
'i',
'e',
's',0
74 'h',
't',
't',
'p',
':',
'/',
'/',
'x',
'm',
'l',
'.',
'o',
'r',
'g',
'/',
's',
'a',
'x',
'/',
'f',
'e',
'a',
't',
'u',
'r',
'e',
's',
75 '/',
'e',
'x',
't',
'e',
'r',
'n',
'a',
'l',
'-',
'p',
'a',
'r',
'a',
'm',
'e',
't',
'e',
'r',
'-',
'e',
'n',
't',
'i',
't',
'i',
'e',
's',0
79 'h',
't',
't',
'p',
':',
'/',
'/',
'x',
'm',
'l',
'.',
'o',
'r',
'g',
'/',
's',
'a',
'x',
'/',
'f',
'e',
'a',
't',
'u',
'r',
'e',
's',
80 '/',
'l',
'e',
'x',
'i',
'c',
'a',
'l',
'-',
'h',
'a',
'n',
'd',
'l',
'e',
'r',
'/',
'p',
'a',
'r',
'a',
'm',
'e',
't',
'e',
'r',
'-',
'e',
'n',
't',
'i',
't',
'i',
'e',
's',0
84 'p',
'r',
'o',
'h',
'i',
'b',
'i',
't',
'-',
'd',
't',
'd',0
88 'h',
't',
't',
'p',
':',
'/',
'/',
'x',
'm',
'l',
'.',
'o',
'r',
'g',
'/',
's',
'a',
'x',
'/',
'f',
'e',
'a',
't',
'u',
'r',
'e',
's',
89 '/',
'n',
'a',
'm',
'e',
's',
'p',
'a',
'c',
'e',
's',0
93 'h',
't',
't',
'p',
':',
'/',
'/',
'x',
'm',
'l',
'.',
'o',
'r',
'g',
'/',
's',
'a',
'x',
'/',
'f',
'e',
'a',
't',
'u',
'r',
'e',
's',
94 '/',
'n',
'a',
'm',
'e',
's',
'p',
'a',
'c',
'e',
'-',
'p',
'r',
'e',
'f',
'i',
'x',
'e',
's',0
98 'e',
'x',
'h',
'a',
'u',
's',
't',
'i',
'v',
'e',
'-',
'e',
'r',
'r',
'o',
'r',
's',0
102 's',
'c',
'h',
'e',
'm',
'a',
'-',
'v',
'a',
'l',
'i',
'd',
'a',
't',
'i',
'o',
'n',0
245 IUnknown_AddRef(unk);
269 IUnknown_AddRef(iface->
handler);
365 hr = IVBSAXContentHandler_characters(
content->vbhandler, &chars);
374 'c',
'h',
'a',
'r',
's',
'e',
't',0
377 'x',
'm',
'l',
'd',
'e',
'c',
'l',
'-',
'v',
'e',
'r',
's',
'i',
'o',
'n',0
380 'h',
't',
't',
'p',
':',
'/',
'/',
'x',
'm',
'l',
'.',
'o',
'r',
'g',
'/',
381 's',
'a',
'x',
'/',
'p',
'r',
'o',
'p',
'e',
'r',
't',
'i',
'e',
's',
'/',
382 'd',
'e',
'c',
'l',
'a',
'r',
'a',
't',
'i',
'o',
'n',
383 '-',
'h',
'a',
'n',
'd',
'l',
'e',
'r',0
386 'h',
't',
't',
'p',
':',
'/',
'/',
'x',
'm',
'l',
'.',
'o',
'r',
'g',
'/',
387 's',
'a',
'x',
'/',
'p',
'r',
'o',
'p',
'e',
'r',
't',
'i',
'e',
's',
'/',
388 'd',
'o',
'm',
'-',
'n',
'o',
'd',
'e',0
391 'i',
'n',
'p',
'u',
't',
'-',
's',
'o',
'u',
'r',
'c',
'e',0
394 'h',
't',
't',
'p',
':',
'/',
'/',
'x',
'm',
'l',
'.',
'o',
'r',
'g',
'/',
395 's',
'a',
'x',
'/',
'p',
'r',
'o',
'p',
'e',
'r',
't',
'i',
'e',
's',
'/',
396 'l',
'e',
'x',
'i',
'c',
'a',
'l',
'-',
'h',
'a',
'n',
'd',
'l',
'e',
'r',0
399 'm',
'a',
'x',
'-',
'e',
'l',
'e',
'm',
'e',
'n',
't',
'-',
'd',
'e',
'p',
't',
'h',0
402 'm',
'a',
'x',
'-',
'x',
'm',
'l',
'-',
's',
'i',
'z',
'e',0
405 's',
'c',
'h',
'e',
'm',
'a',
'-',
'd',
'e',
'c',
'l',
'a',
'r',
'a',
't',
'i',
'o',
'n',
'-',
406 'h',
'a',
'n',
'd',
'l',
'e',
'r',0
409 'x',
'm',
'l',
'd',
'e',
'c',
'l',
'-',
'e',
'n',
'c',
'o',
'd',
'i',
'n',
'g',0
412 'x',
'm',
'l',
'd',
'e',
'c',
'l',
'-',
's',
't',
'a',
'n',
'd',
'a',
'l',
'o',
'n',
'e',0
415 'x',
'm',
'l',
'd',
'e',
'c',
'l',
'-',
'v',
'e',
'r',
's',
'i',
'o',
'n',0
422 value = VARIANT_FALSE;
424 value = VARIANT_TRUE;
426 if (
value == VARIANT_TRUE)
429 reader->features &= ~feature;
476 ret->ns_count = nb_ns;
478 for (
i=0;
i < nb_ns;
i++)
556 if (*
i == -1) *
i = 0;
else ++*
i;
561 if (*
i == -1) *
i =
element->ns_count-1;
else --*
i;
584 pool->pool = new_pool;
588 pool->pool[
pool->index++] = pool_entry;
596 for (
i = 0;
i <
pool->index;
i++)
614 if(
len != -1) dLen++;
619 if(
len != -1) bstr[dLen-1] =
'\0';
679 FIXME(
"MSXML errors not yet supported.\n");
683 if(
This->vbInterface)
686 IVBSAXErrorHandler_fatalError(
handler->vbhandler,
687 &
This->IVBSAXLocator_iface, &bstrMsg,
hr);
691 ISAXErrorHandler_fatalError(
handler->handler,
699 const xmlChar *baseP =
This->pParserCtxt->input->base;
705 for(;
p>=baseP && *
p!=
'\n' && *
p!=
'\r';
p--)
716 IVBSAXAttributes* iface,
722 return IVBSAXLocator_QueryInterface(&
This->IVBSAXLocator_iface,
riid, ppvObject);
728 return IVBSAXLocator_AddRef(&
This->IVBSAXLocator_iface);
734 return IVBSAXLocator_Release(&
This->IVBSAXLocator_iface);
749 IVBSAXAttributes *iface,
752 TRACE(
"%p, %u, %lx, %p.\n", iface, iTInfo,
lcid, ppTInfo);
758 IVBSAXAttributes *iface,
771 if(!rgszNames || cNames == 0 || !rgDispId)
777 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId);
785 IVBSAXAttributes *iface,
790 DISPPARAMS* pDispParams,
792 EXCEPINFO* pExcepInfo,
798 TRACE(
"%p, %ld, %s, %lx, %d, %p, %p, %p, %p.\n", iface, dispIdMember,
debugstr_guid(
riid),
799 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
804 hr = ITypeInfo_Invoke(
typeinfo, iface, dispIdMember,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
813 IVBSAXAttributes* iface,
817 return ISAXAttributes_getLength(&
This->ISAXAttributes_iface,
nLength);
821 IVBSAXAttributes* iface,
836 hr = ISAXAttributes_getURI(&
This->ISAXAttributes_iface, nIndex, &uriW, &
len);
844 IVBSAXAttributes* iface,
859 hr = ISAXAttributes_getLocalName(&
This->ISAXAttributes_iface, nIndex, &
nameW, &
len);
867 IVBSAXAttributes* iface,
876 TRACE(
"(%p)->(%d %p)\n",
This, nIndex, QName);
882 hr = ISAXAttributes_getQName(&
This->ISAXAttributes_iface, nIndex, &
nameW, &
len);
890 IVBSAXAttributes* iface,
901 IVBSAXAttributes* iface,
906 return ISAXAttributes_getIndexFromQName(&
This->ISAXAttributes_iface, QName,
911 IVBSAXAttributes* iface,
926 hr = ISAXAttributes_getType(&
This->ISAXAttributes_iface, nIndex, &
typeW, &
len);
934 IVBSAXAttributes* iface,
959 IVBSAXAttributes* iface,
974 hr = ISAXAttributes_getTypeFromQName(&
This->ISAXAttributes_iface, QName,
SysStringLen(QName),
983 IVBSAXAttributes* iface,
998 hr = ISAXAttributes_getValue(&
This->ISAXAttributes_iface, nIndex, &
valueW, &
len);
1006 IVBSAXAttributes* iface,
1031 IVBSAXAttributes* iface,
1046 hr = ISAXAttributes_getValueFromQName(&
This->ISAXAttributes_iface, QName,
1086 return ISAXLocator_QueryInterface(&
This->ISAXLocator_iface,
riid, ppvObject);
1093 return ISAXLocator_AddRef(&
This->ISAXLocator_iface);
1101 return ISAXLocator_Release(&
This->ISAXLocator_iface);
1144 const WCHAR **pLocalName,
1145 int *pLocalNameLength)
1151 if(!pLocalName || !pLocalNameLength)
return E_POINTER;
1154 *pLocalName =
This->attributes[
index].szLocalname;
1162 const WCHAR **pQName,
1169 if(!pQName || !pQNameLength)
return E_POINTER;
1172 *pQName =
This->attributes[
index].szQName;
1182 const WCHAR **localName,
1183 int *pLocalNameSize,
1184 const WCHAR **QName,
1191 if(!
uri || !pUriLength || !localName || !pLocalNameSize
1192 || !QName || !pQNameLength)
return E_POINTER;
1197 *localName =
This->attributes[
index].szLocalname;
1199 *QName =
This->attributes[
index].szQName;
1210 const WCHAR *pLocalName,
1211 int cocalNameLength,
1221 for(
i=0;
i<
This->attr_count;
i++)
1226 if(cUriLength &&
memcmp(pUri,
This->attributes[
i].szURI,
1227 sizeof(
WCHAR)*cUriLength))
1229 if(cocalNameLength &&
memcmp(pLocalName,
This->attributes[
i].szLocalname,
1230 sizeof(
WCHAR)*cocalNameLength))
1242 const WCHAR *pQName,
1253 for(
i=0;
i<
This->attr_count;
i++)
1256 if(
memcmp(pQName,
This->attributes[
i].szQName,
sizeof(
WCHAR)*nQNameLength))
continue;
1268 const WCHAR **pType,
1273 FIXME(
"(%p)->(%d) stub\n",
This, nIndex);
1281 const WCHAR *pLocalName,
1283 const WCHAR **pType,
1295 const WCHAR *pQName,
1297 const WCHAR **pType,
1330 const WCHAR *pLocalName,
1341 hr = ISAXAttributes_getIndexFromName(iface,
1342 pUri, nUri, pLocalName, nLocalName, &
index);
1350 const WCHAR *pQName,
1360 hr = ISAXAttributes_getIndexFromQName(iface, pQName, nQName, &
index);
1391 static const WCHAR ampescW[] = {
'&',
'#',
'3',
'8',
';',0};
1447 int nb_namespaces,
const xmlChar **xmlNamespaces,
1448 int nb_attributes,
const xmlChar **xmlAttributes)
1451 static const WCHAR xmlnsW[] = {
'x',
'm',
'l',
'n',
's',0 };
1453 struct _attributes *attrs;
1460 locator->attr_count = nb_namespaces + nb_attributes;
1481 for (
i = 0;
i < nb_namespaces;
i++)
1486 attrs[nb_attributes+
i].szURI =
locator->namespaceUri;
1492 if(!xmlNamespaces[2*
i])
1498 for (
i = 0;
i < nb_attributes;
i++)
1500 static const xmlChar xmlA[] =
"xml";
1532 while(
p>
This->pParserCtxt->input->base && *
p!=
'>')
1534 if(*
p==
'\n' || (*
p==
'\r' && *(
p+1)!=
'\n'))
1539 for(;
p>=
This->pParserCtxt->input->base && *
p!=
'\n' && *
p!=
'\r';
p--)
1544 if (
This->pParserCtxt->standalone != -1)
1552 if(
This->vbInterface)
1553 hr = IVBSAXContentHandler_startDocument(
handler->vbhandler);
1555 hr = ISAXContentHandler_startDocument(
handler->handler);
1570 if(
This->column > 1)
1582 if(
This->vbInterface)
1583 hr = IVBSAXContentHandler_endDocument(
handler->vbhandler);
1585 hr = ISAXContentHandler_endDocument(
handler->handler);
1610 if(*(
This->pParserCtxt->input->cur) ==
'/')
1624 if (
This->vbInterface)
1625 hr = IVBSAXContentHandler_startPrefixMapping(
1630 hr = ISAXContentHandler_startPrefixMapping(
1656 if (
This->vbInterface)
1657 hr = IVBSAXContentHandler_startElement(
handler->vbhandler,
1660 hr = ISAXContentHandler_startElement(
handler->handler,
1664 &
This->ISAXAttributes_iface);
1685 p =
This->pParserCtxt->input->cur;
1690 while(
p>
This->pParserCtxt->input->base && *
p!=
'>')
1692 if(*
p==
'\n' || (*
p==
'\r' && *(
p+1)!=
'\n'))
1697 else if(*(
p-1)!=
'>' || *(
p-2)!=
'/')
1700 while(
p-2>=
This->pParserCtxt->input->base
1701 && *(
p-2)!=
'<' && *(
p-1)!=
'/')
1703 if(*
p==
'\n' || (*
p==
'\r' && *(
p+1)!=
'\n'))
1709 for(;
p>=
This->pParserCtxt->input->base && *
p!=
'\n' && *
p!=
'\r';
p--)
1718 This->attr_count = 0;
1728 if (
This->vbInterface)
1729 hr = IVBSAXContentHandler_endElement(
1733 hr = ISAXContentHandler_endElement(
1740 This->attr_count = 0;
1754 if (
This->vbInterface)
1755 hr = IVBSAXContentHandler_endPrefixMapping(
1758 hr = ISAXContentHandler_endPrefixMapping(
1786 while(
cur>=
This->pParserCtxt->input->base && *
cur!=
'>')
1788 if(*
cur==
'\n' || (*
cur==
'\r' && *(
cur+1)!=
'\n'))
1793 for(;
cur>=
This->pParserCtxt->input->base && *
cur!=
'\n' && *
cur!=
'\r';
cur--)
1797 if(*(
ch-1)==
'\r')
cur--;
1863 xmlSAXLocatorPtr loc)
1871 if(
This->vbInterface)
1872 hr = IVBSAXContentHandler_putref_documentLocator(
handler->vbhandler,
1873 &
This->IVBSAXLocator_iface);
1875 hr = ISAXContentHandler_putDocumentLocator(
handler->handler, &
This->ISAXLocator_iface);
1891 while(
p-4>=
This->pParserCtxt->input->base
1892 &&
memcmp(
p-4,
"<!--",
sizeof(
char[4])))
1894 if(*
p==
'\n' || (*
p==
'\r' && *(
p+1)!=
'\n'))
1900 for(;
p>=
This->pParserCtxt->input->base && *
p!=
'\n' && *
p!=
'\r';
p--)
1907 if (
This->vbInterface)
1908 hr = IVBSAXLexicalHandler_comment(
handler->vbhandler, &bValue);
1950 FIXME(
"Error handling is not compatible.\n");
1952 if(
This->vbInterface)
1955 IVBSAXErrorHandler_fatalError(
handler->vbhandler, &
This->IVBSAXLocator_iface,
1980 while ((*
ptr ==
'\r' || *
ptr ==
'\n') &&
ptr >= bstr)
1993 if (*(
ptr+1) ==
'\r' || *(
ptr+1) ==
'\n')
2021 hr = IVBSAXLexicalHandler_startCDATA(lexical->
vbhandler);
2023 hr = ISAXLexicalHandler_startCDATA(lexical->
handler);
2075 hr = IVBSAXLexicalHandler_endCDATA(lexical->
vbhandler);
2077 hr = ISAXLexicalHandler_endCDATA(lexical->
handler);
2086 FIXME(
"entity resolving not implemented, %s, %s\n", publicid, systemid);
2108 *ppvObject = &
This->IVBSAXAttributes_iface;
2116 IVBSAXLocator_AddRef( iface );
2125 return ISAXLocator_AddRef(&
This->ISAXLocator_iface);
2131 return ISAXLocator_Release(&
This->ISAXLocator_iface);
2147 IVBSAXLocator *iface,
2150 TRACE(
"%p, %u, %lx, %p.\n", iface, iTInfo,
lcid, ppTInfo);
2156 IVBSAXLocator *iface,
2166 TRACE(
"%p, %s, %p, %u, %lx, %p.\n", iface,
debugstr_guid(
riid), rgszNames, cNames,
2169 if(!rgszNames || cNames == 0 || !rgDispId)
2175 hr = ITypeInfo_GetIDsOfNames(
typeinfo, rgszNames, cNames, rgDispId);
2183 IVBSAXLocator *iface,
2188 DISPPARAMS* pDispParams,
2190 EXCEPINFO* pExcepInfo,
2196 TRACE(
"%p, %ld, %s, %lx, %d, %p, %p, %p, %p.\n", iface, dispIdMember,
debugstr_guid(
riid),
2197 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
2202 hr = ITypeInfo_Invoke(
typeinfo, iface, dispIdMember,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
2211 IVBSAXLocator* iface,
2215 return ISAXLocator_getColumnNumber(&
This->ISAXLocator_iface, pnColumn);
2219 IVBSAXLocator* iface,
2223 return ISAXLocator_getLineNumber(&
This->ISAXLocator_iface, pnLine);
2229 const WCHAR *publicidW;
2238 hr = ISAXLocator_getPublicId(&
This->ISAXLocator_iface, &publicidW);
2248 const WCHAR *systemidW;
2257 hr = ISAXLocator_getSystemId(&
This->ISAXLocator_iface, &systemidW);
2296 *ppvObject = &
This->ISAXAttributes_iface;
2304 ISAXLocator_AddRef( iface );
2313 TRACE(
"%p, refcount %lu.\n", iface,
ref);
2323 TRACE(
"%p, refcount %ld.\n", iface,
ref );
2349 ISAXXMLReader_Release(&
This->saxreader->ISAXXMLReader_iface);
2363 *pnColumn =
This->column;
2373 *pnLine =
This->line;
2379 const WCHAR ** ppwchPublicId)
2388 This->publicId = publicId;
2395 *ppwchPublicId =
This->publicId;
2401 const WCHAR ** ppwchSystemId)
2410 This->systemId = systemId;
2417 *ppwchSystemId =
This->systemId;
2434 static const WCHAR w3xmlns[] = {
'h',
't',
't',
'p',
':',
'/',
'/',
'w',
'w',
'w',
'.',
'w',
'3',
'.',
2435 'o',
'r',
'g',
'/',
'2',
'0',
'0',
'0',
'/',
'x',
'm',
'l',
'n',
's',
'/',0 };
2448 locator->vbInterface = vbInterface;
2451 ISAXXMLReader_AddRef(&
reader->ISAXXMLReader_iface);
2465 ISAXXMLReader_Release(&
reader->ISAXXMLReader_iface);
2470 locator->attr_alloc_count = 8;
2475 ISAXXMLReader_Release(&
reader->ISAXXMLReader_iface);
2485 TRACE(
"returning %p\n", *ppsaxlocator);
2516 if ((
size >= 2) && *
ptr ==
'<' &&
ptr[1] !=
'?')
2530 ISAXLocator_Release(&
locator->ISAXLocator_iface);
2561 ISAXLocator_Release(&
locator->ISAXLocator_iface);
2580 locator->pParserCtxt = xmlCreatePushParserCtxt(
2585 ISAXLocator_Release(&
locator->ISAXLocator_iface);
2594 if (
FAILED(
hr) || !dataRead)
break;
2611 ISAXLocator_Release(&
locator->ISAXLocator_iface);
2627 switch(
V_VT(&varInput))
2638 LONG lBound, uBound;
2660 if(IUnknown_QueryInterface(
V_UNKNOWN(&varInput),
2661 &IID_IXMLDOMDocument, (
void**)&xmlDoc) ==
S_OK)
2665 IXMLDOMDocument_get_xml(xmlDoc, &bstrData);
2668 IXMLDOMDocument_Release(xmlDoc);
2674 IUnknown_QueryInterface(
V_UNKNOWN(&varInput), &IID_ISequentialStream, (
void**)&
stream);
2677 IUnknown_QueryInterface(
V_UNKNOWN(&varInput), &IID_IStream, (
void**)&
stream);
2682 ISequentialStream_Release(
stream);
2686 WARN(
"IUnknown* input doesn't support any of expected interfaces\n");
2693 WARN(
"vt %d not implemented\n",
V_VT(&varInput));
2731 IMoniker_Release(mon);
2749 riid = vb ? &IID_IVBSAXDeclHandler : &IID_ISAXDeclHandler;
2752 riid = vb ? &IID_IVBSAXLexicalHandler : &IID_ISAXLexicalHandler;
2755 ERR(
"wrong handler type %d\n",
type);
2777 ERR(
"value type %d not supported\n",
V_VT(
v));
2893 *ppvObject = &
This->ISAXXMLReader_iface;
2905 IVBSAXXMLReader_AddRef( iface );
2918 IVBSAXXMLReader* iface)
2935 IUnknown_Release(saxiface->
handler);
2953 return IDispatchEx_GetTypeInfoCount(&
This->dispex.IDispatchEx_iface, pctinfo);
2957 IVBSAXXMLReader *iface,
2961 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface,
2962 iTInfo,
lcid, ppTInfo);
2966 IVBSAXXMLReader *iface,
2974 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
2975 riid, rgszNames, cNames,
lcid, rgDispId);
2979 IVBSAXXMLReader *iface,
2984 DISPPARAMS* pDispParams,
2986 EXCEPINFO* pExcepInfo,
2990 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface,
2991 dispIdMember,
riid,
lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
2996 IVBSAXXMLReader* iface,
3001 return ISAXXMLReader_getFeature(&
This->ISAXXMLReader_iface, feature_name,
value);
3005 IVBSAXXMLReader* iface,
3010 return ISAXXMLReader_putFeature(&
This->ISAXXMLReader_iface, feature_name,
value);
3014 IVBSAXXMLReader* iface,
3023 IVBSAXXMLReader* iface,
3032 IVBSAXXMLReader* iface,
3033 IVBSAXEntityResolver **resolver)
3040 IVBSAXXMLReader* iface,
3041 IVBSAXEntityResolver *resolver)
3048 IVBSAXXMLReader* iface,
3049 IVBSAXContentHandler **
handler)
3056 IVBSAXXMLReader* iface,
3057 IVBSAXContentHandler *
handler)
3064 IVBSAXXMLReader* iface,
3072 IVBSAXXMLReader* iface,
3080 IVBSAXXMLReader* iface,
3088 IVBSAXXMLReader* iface,
3096 IVBSAXXMLReader* iface,
3101 FIXME(
"(%p)->(%p) stub\n",
This, pBaseUrl);
3106 IVBSAXXMLReader* iface,
3110 return ISAXXMLReader_putBaseURL(&
This->ISAXXMLReader_iface, pBaseUrl);
3114 IVBSAXXMLReader* iface,
3115 BSTR *pSecureBaseUrl)
3119 FIXME(
"(%p)->(%p) stub\n",
This, pSecureBaseUrl);
3124 IVBSAXXMLReader* iface,
3128 return ISAXXMLReader_putSecureBaseURL(&
This->ISAXXMLReader_iface, secureBaseUrl);
3132 IVBSAXXMLReader* iface,
3140 IVBSAXXMLReader* iface,
3181 return IVBSAXXMLReader_QueryInterface(&
This->IVBSAXXMLReader_iface,
riid, ppvObject);
3187 return IVBSAXXMLReader_AddRef(&
This->IVBSAXXMLReader_iface);
3193 return IVBSAXXMLReader_Release(&
This->IVBSAXXMLReader_iface);
3198 ISAXXMLReader* iface,
3199 const WCHAR *feature_name,
3223 ISAXXMLReader* iface,
3224 const WCHAR *feature_name,
3257 ISAXXMLReader* iface,
3266 ISAXXMLReader* iface,
3275 ISAXXMLReader* iface,
3276 ISAXEntityResolver **resolver)
3283 ISAXXMLReader* iface,
3284 ISAXEntityResolver *resolver)
3291 ISAXXMLReader* iface,
3299 ISAXXMLReader* iface,
3307 ISAXXMLReader* iface,
3315 ISAXXMLReader* iface,
3323 ISAXXMLReader* iface,
3337 ISAXXMLReader* iface,
3347 ISAXXMLReader* iface,
3348 const WCHAR *pBaseUrl)
3357 ISAXXMLReader* iface,
3358 const WCHAR **pSecureBaseUrl)
3361 FIXME(
"(%p)->(%p) stub\n",
This, pSecureBaseUrl);
3366 ISAXXMLReader* iface,
3367 const WCHAR *secureBaseUrl)
3376 ISAXXMLReader* iface,
3384 ISAXXMLReader* iface,
3431 TRACE(
"(%p)\n", ppObj);
3465 *ppObj = &
reader->IVBSAXXMLReader_iface;
3467 TRACE(
"returning iface %p\n", *ppObj);
XMLPUBFUN const xmlChar * xmlSAX2GetPublicId(void *ctx)
XMLPUBFUN int xmlSAX2GetLineNumber(void *ctx)
XMLPUBFUN int xmlSAX2GetColumnNumber(void *ctx)
XMLPUBFUN xmlParserInputPtr xmlSAX2ResolveEntity(void *ctx, const xmlChar *publicId, const xmlChar *systemId)
XMLPUBFUN const xmlChar * xmlSAX2GetSystemId(void *ctx)
HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static const WCHAR nameW[]
static void list_remove(struct list_entry *entry)
static void list_add_head(struct list_entry *head, struct list_entry *entry)
static void list_init(struct list_entry *head)
HRESULT detach_bsc(bsc_t *bsc)
HRESULT bind_url(IMoniker *mon, HRESULT(*onDataAvailable)(void *, char *, DWORD), void *obj, bsc_t **ret)
HRESULT create_moniker_from_url(LPCWSTR url, IMoniker **mon)
#define MultiByteToWideChar
static const WCHAR version[]
static const WCHAR valueW[]
UINT(* handler)(MSIPACKAGE *)
_ACRTIMP int __cdecl wcscmp(const wchar_t *, const wchar_t *)
_ACRTIMP int __cdecl memcmp(const void *, const void *, size_t)
_ACRTIMP wchar_t *__cdecl wcsstr(const wchar_t *, const wchar_t *)
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl vsprintf(char *, const char *, va_list) __WINE_CRT_PRINTF_ATTR(2
static const xmlChar xmlns[]
static BSTR find_element_uri(saxlocator *locator, const xmlChar *uri)
static HRESULT WINAPI isaxxmlreader_putBaseURL(ISAXXMLReader *iface, const WCHAR *pBaseUrl)
static HRESULT get_feature_value(const saxreader *reader, saxreader_feature feature, VARIANT_BOOL *value)
static HRESULT SAXAttributes_populate(saxlocator *locator, int nb_namespaces, const xmlChar **xmlNamespaces, int nb_attributes, const xmlChar **xmlAttributes)
static ULONG WINAPI isaxxmlreader_Release(ISAXXMLReader *iface)
static const struct ISAXLocatorVtbl SAXLocatorVtbl
static const struct IVBSAXLocatorVtbl VBSAXLocatorVtbl
static HRESULT WINAPI isaxlocator_getColumnNumber(ISAXLocator *iface, int *pnColumn)
static ULONG WINAPI saxxmlreader_AddRef(IVBSAXXMLReader *iface)
static const WCHAR FeatureLexicalHandlerParEntitiesW[]
static void libxmlCharacters(void *ctx, const xmlChar *ch, int len)
static const WCHAR PropertyMaxElementDepthW[]
static HRESULT WINAPI isaxattributes_getTypeFromQName(ISAXAttributes *iface, const WCHAR *pQName, int nQName, const WCHAR **pType, int *nType)
static HRESULT WINAPI saxxmlreader_QueryInterface(IVBSAXXMLReader *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI saxxmlreader_GetIDsOfNames(IVBSAXXMLReader *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static const WCHAR PropertyLexicalHandlerW[]
static const struct IVBSAXXMLReaderVtbl VBSAXXMLReaderVtbl
static HRESULT WINAPI ivbsaxlocator_get_systemId(IVBSAXLocator *iface, BSTR *ret)
static BSTR saxreader_get_cdata_chunk(const xmlChar *str, int len)
static HRESULT WINAPI saxxmlreader_put_dtdHandler(IVBSAXXMLReader *iface, IVBSAXDTDHandler *handler)
static ULONG WINAPI ivbsaxattributes_AddRef(IVBSAXAttributes *iface)
static HRESULT WINAPI ivbsaxattributes_getValueFromQName(IVBSAXAttributes *iface, BSTR QName, BSTR *value)
static HRESULT WINAPI isaxxmlreader_putSecureBaseURL(ISAXXMLReader *iface, const WCHAR *secureBaseUrl)
static BOOL saxreader_has_handler(const saxlocator *locator, enum saxhandler_type type)
static HRESULT WINAPI isaxxmlreader_getErrorHandler(ISAXXMLReader *iface, ISAXErrorHandler **handler)
static ULONG WINAPI isaxattributes_AddRef(ISAXAttributes *iface)
static BSTR pooled_bstr_from_xmlChar(struct bstrpool *pool, const xmlChar *buf)
static HRESULT WINAPI isaxattributes_getLength(ISAXAttributes *iface, int *length)
static const struct saxreader_feature_pair saxreader_feature_map[]
static HRESULT internal_parseURL(saxreader *reader, const WCHAR *url, BOOL vbInterface)
static HRESULT WINAPI isaxxmlreader_getFeature(ISAXXMLReader *iface, const WCHAR *feature_name, VARIANT_BOOL *value)
static ULONG WINAPI ivbsaxattributes_Release(IVBSAXAttributes *iface)
static HRESULT WINAPI saxxmlreader_get_errorHandler(IVBSAXXMLReader *iface, IVBSAXErrorHandler **handler)
static HRESULT internal_parseStream(saxreader *This, ISequentialStream *stream, BOOL vbInterface)
static HRESULT WINAPI ivbsaxattributes_getLocalName(IVBSAXAttributes *iface, int nIndex, BSTR *name)
static const tid_t saxreader_iface_tids[]
static HRESULT WINAPI ivbsaxlocator_Invoke(IVBSAXLocator *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI ivbsaxattributes_getValue(IVBSAXAttributes *iface, int nIndex, BSTR *value)
static void libxml_cdatablock(void *ctx, const xmlChar *value, int len)
static const WCHAR PropertyMaxXMLSizeW[]
static dispex_static_data_t saxreader_dispex
static const WCHAR PropertyXmlDeclVersionW[]
static HRESULT WINAPI ivbsaxattributes_getType(IVBSAXAttributes *iface, int nIndex, BSTR *type)
static HRESULT WINAPI isaxxmlreader_getEntityResolver(ISAXXMLReader *iface, ISAXEntityResolver **resolver)
static ULONG WINAPI isaxattributes_Release(ISAXAttributes *iface)
static HRESULT WINAPI ivbsaxattributes_getURI(IVBSAXAttributes *iface, int nIndex, BSTR *uri)
static HRESULT WINAPI saxxmlreader_put_secureBaseURL(IVBSAXXMLReader *iface, BSTR secureBaseUrl)
static HRESULT WINAPI isaxlocator_getSystemId(ISAXLocator *iface, const WCHAR **ppwchSystemId)
static BSTR pooled_bstr_from_xmlCharN(struct bstrpool *pool, const xmlChar *buf, int len)
static HRESULT WINAPI saxxmlreader_parse(IVBSAXXMLReader *iface, VARIANT varInput)
static HRESULT WINAPI ivbsaxattributes_getQName(IVBSAXAttributes *iface, int nIndex, BSTR *QName)
static element_entry * alloc_element_entry(const xmlChar *local, const xmlChar *prefix, int nb_ns, const xmlChar **namespaces)
static ULONG WINAPI ivbsaxlocator_Release(IVBSAXLocator *iface)
static BSTR bstr_from_xmlCharN(const xmlChar *buf, int len)
static saxreader_feature get_saxreader_feature(const WCHAR *name)
static ULONG WINAPI isaxlocator_AddRef(ISAXLocator *iface)
static ULONG WINAPI saxxmlreader_Release(IVBSAXXMLReader *iface)
static const WCHAR PropertySchemaDeclHandlerW[]
static HRESULT WINAPI isaxattributes_getName(ISAXAttributes *iface, int index, const WCHAR **uri, int *pUriLength, const WCHAR **localName, int *pLocalNameSize, const WCHAR **QName, int *pQNameLength)
static HRESULT WINAPI isaxxmlreader_parse(ISAXXMLReader *iface, VARIANT varInput)
static const WCHAR FeatureNamespacesW[]
static HRESULT WINAPI saxxmlreader_putProperty(IVBSAXXMLReader *iface, BSTR pProp, VARIANT value)
static HRESULT WINAPI saxxmlreader_get_secureBaseURL(IVBSAXXMLReader *iface, BSTR *pSecureBaseUrl)
static void push_element_ns(saxlocator *locator, element_entry *element)
static HRESULT saxreader_put_handler(saxreader *reader, enum saxhandler_type type, void *ptr, BOOL vb)
static HRESULT WINAPI ivbsaxlocator_GetIDsOfNames(IVBSAXLocator *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI isaxattributes_getURI(ISAXAttributes *iface, int index, const WCHAR **url, int *size)
static HRESULT WINAPI isaxattributes_getLocalName(ISAXAttributes *iface, int index, const WCHAR **pLocalName, int *pLocalNameLength)
static BOOL iterate_endprefix_index(saxlocator *This, const element_entry *element, int *i)
static HRESULT WINAPI ivbsaxattributes_getValueFromName(IVBSAXAttributes *iface, BSTR uri, BSTR localName, BSTR *value)
static HRESULT WINAPI isaxlocator_getLineNumber(ISAXLocator *iface, int *pnLine)
static HRESULT saxreader_put_handler_from_variant(saxreader *This, enum saxhandler_type type, const VARIANT *v, BOOL vb)
static HRESULT WINAPI isaxattributes_getQName(ISAXAttributes *iface, int index, const WCHAR **pQName, int *pQNameLength)
static HRESULT WINAPI isaxxmlreader_putEntityResolver(ISAXXMLReader *iface, ISAXEntityResolver *resolver)
static HRESULT WINAPI saxxmlreader_get_contentHandler(IVBSAXXMLReader *iface, IVBSAXContentHandler **handler)
static void update_position(saxlocator *This, BOOL fix_column)
static HRESULT WINAPI isaxxmlreader_parseURL(ISAXXMLReader *iface, const WCHAR *url)
static HRESULT WINAPI isaxattributes_getValue(ISAXAttributes *iface, int index, const WCHAR **value, int *nValue)
static HRESULT WINAPI isaxattributes_getValueFromQName(ISAXAttributes *iface, const WCHAR *pQName, int nQName, const WCHAR **pValue, int *nValue)
static HRESULT WINAPI isaxattributes_getValueFromName(ISAXAttributes *iface, const WCHAR *pUri, int nUri, const WCHAR *pLocalName, int nLocalName, const WCHAR **pValue, int *nValue)
static const WCHAR PropertyXMLDeclStandaloneW[]
static HRESULT WINAPI isaxattributes_getIndexFromName(ISAXAttributes *iface, const WCHAR *pUri, int cUriLength, const WCHAR *pLocalName, int cocalNameLength, int *index)
static HRESULT WINAPI isaxxmlreader_putFeature(ISAXXMLReader *iface, const WCHAR *feature_name, VARIANT_BOOL value)
static HRESULT WINAPI saxxmlreader_getFeature(IVBSAXXMLReader *iface, BSTR feature_name, VARIANT_BOOL *value)
static HRESULT WINAPI saxxmlreader_parseURL(IVBSAXXMLReader *iface, BSTR url)
static const WCHAR PropertyXMLDeclVersionW[]
static const WCHAR empty_str
static HRESULT WINAPI isaxxmlreader_QueryInterface(ISAXXMLReader *iface, REFIID riid, void **ppvObject)
static BOOL is_namespaces_enabled(const saxreader *reader)
static void format_error_message_from_id(saxlocator *This, HRESULT hr)
static HRESULT WINAPI saxxmlreader_get_baseURL(IVBSAXXMLReader *iface, BSTR *pBaseUrl)
static BSTR build_qname(BSTR prefix, BSTR local)
static BSTR saxreader_get_unescaped_value(const xmlChar *buf, int len)
static HRESULT WINAPI ivbsaxlocator_get_lineNumber(IVBSAXLocator *iface, int *pnLine)
static HRESULT WINAPI saxxmlreader_GetTypeInfoCount(IVBSAXXMLReader *iface, UINT *pctinfo)
static HRESULT internal_parseBuffer(saxreader *This, const char *buffer, int size, BOOL vbInterface)
static const struct IVBSAXAttributesVtbl ivbsaxattributes_vtbl
static const WCHAR FeatureProhibitDTDW[]
static HRESULT WINAPI ivbsaxattributes_get_length(IVBSAXAttributes *iface, int *nLength)
static const WCHAR PropertyInputSourceW[]
static struct saxerrorhandler_iface * saxreader_get_errorhandler(saxreader *reader)
static void libxmlEndDocument(void *ctx)
static HRESULT internal_onDataAvailable(void *obj, char *ptr, DWORD len)
static HRESULT saxreader_saxcharacters(saxlocator *locator, BSTR chars)
static saxlocator * impl_from_IVBSAXLocator(IVBSAXLocator *iface)
static HRESULT WINAPI ivbsaxlocator_GetTypeInfoCount(IVBSAXLocator *iface, UINT *pctinfo)
static HRESULT WINAPI ivbsaxattributes_getIndexFromName(IVBSAXAttributes *iface, BSTR uri, BSTR localName, int *index)
static HRESULT WINAPI ivbsaxattributes_Invoke(IVBSAXAttributes *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI ivbsaxattributes_GetIDsOfNames(IVBSAXAttributes *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT set_feature_value(saxreader *reader, saxreader_feature feature, VARIANT_BOOL value)
static HRESULT WINAPI ivbsaxlocator_get_columnNumber(IVBSAXLocator *iface, int *pnColumn)
static void libxmlComment(void *ctx, const xmlChar *value)
static HRESULT internal_parse(saxreader *This, VARIANT varInput, BOOL vbInterface)
static HRESULT WINAPI saxxmlreader_Invoke(IVBSAXXMLReader *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static ULONG WINAPI isaxxmlreader_AddRef(ISAXXMLReader *iface)
static const WCHAR PropertyDomNodeW[]
static BSTR QName_from_xmlChar(const xmlChar *prefix, const xmlChar *name)
static HRESULT WINAPI isaxattributes_getType(ISAXAttributes *iface, int nIndex, const WCHAR **pType, int *pTypeLength)
HRESULT SAXXMLReader_create(MSXML_VERSION version, LPVOID *ppObj)
static void libxmlEndElementNS(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI)
static void WINAPIV libxmlFatalError(void *ctx, const char *msg,...)
static HRESULT internal_vbonDataAvailable(void *obj, char *ptr, DWORD len)
static HRESULT WINAPI isaxattributes_QueryInterface(ISAXAttributes *iface, REFIID riid, void **ppvObject)
@ ExternalParameterEntities
@ PreserveSystemIndentifiers
@ SuppressValidationfatalError
@ ExternalGeneralEntities
@ LexicalHandlerParEntities
static HRESULT WINAPI ivbsaxlocator_GetTypeInfo(IVBSAXLocator *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static BOOL is_valid_attr_index(const saxlocator *locator, int index)
static const WCHAR ExhaustiveErrorsW[]
static saxlocator * impl_from_ISAXLocator(ISAXLocator *iface)
static HRESULT WINAPI ivbsaxlocator_get_publicId(IVBSAXLocator *iface, BSTR *ret)
static HRESULT WINAPI saxxmlreader_getProperty(IVBSAXXMLReader *iface, BSTR prop, VARIANT *value)
static HRESULT WINAPI isaxattributes_getIndexFromQName(ISAXAttributes *iface, const WCHAR *pQName, int nQNameLength, int *index)
static HRESULT WINAPI saxxmlreader_put_contentHandler(IVBSAXXMLReader *iface, IVBSAXContentHandler *handler)
static BOOL bstr_pool_insert(struct bstrpool *pool, BSTR pool_entry)
static HRESULT WINAPI isaxxmlreader_putContentHandler(ISAXXMLReader *iface, ISAXContentHandler *handler)
static ULONG WINAPI isaxlocator_Release(ISAXLocator *iface)
static const WCHAR FeatureExternalGeneralEntitiesW[]
static void libxmlStartElementNS(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes)
static HRESULT WINAPI isaxxmlreader_getDTDHandler(ISAXXMLReader *iface, ISAXDTDHandler **handler)
static const WCHAR PropertyCharsetW[]
static const struct ISAXXMLReaderVtbl SAXXMLReaderVtbl
static HRESULT WINAPI ivbsaxattributes_getTypeFromName(IVBSAXAttributes *iface, BSTR uri, BSTR localName, BSTR *type)
static saxreader * impl_from_ISAXXMLReader(ISAXXMLReader *iface)
static HRESULT WINAPI isaxattributes_getTypeFromName(ISAXAttributes *iface, const WCHAR *pUri, int nUri, const WCHAR *pLocalName, int nLocalName, const WCHAR **pType, int *nType)
static xmlParserInputPtr libxmlresolveentity(void *ctx, const xmlChar *publicid, const xmlChar *systemid)
static const struct ISAXAttributesVtbl isaxattributes_vtbl
static const WCHAR PropertyXMLDeclEncodingW[]
static void libxmlStartDocument(void *ctx)
static HRESULT WINAPI saxxmlreader_put_entityResolver(IVBSAXXMLReader *iface, IVBSAXEntityResolver *resolver)
static void free_element_entry(element_entry *element)
static HRESULT WINAPI isaxxmlreader_getContentHandler(ISAXXMLReader *iface, ISAXContentHandler **handler)
static HRESULT WINAPI isaxxmlreader_putErrorHandler(ISAXXMLReader *iface, ISAXErrorHandler *handler)
static HRESULT WINAPI saxxmlreader_put_errorHandler(IVBSAXXMLReader *iface, IVBSAXErrorHandler *handler)
static ULONG WINAPI ivbsaxlocator_AddRef(IVBSAXLocator *iface)
static HRESULT SAXLocator_create(saxreader *reader, saxlocator **ppsaxlocator, BOOL vbInterface)
static HRESULT WINAPI ivbsaxattributes_getTypeFromQName(IVBSAXAttributes *iface, BSTR QName, BSTR *type)
static HRESULT WINAPI saxxmlreader_putFeature(IVBSAXXMLReader *iface, BSTR feature_name, VARIANT_BOOL value)
static struct saxcontenthandler_iface * saxreader_get_contenthandler(saxreader *reader)
static saxlocator * impl_from_IVBSAXAttributes(IVBSAXAttributes *iface)
static HRESULT internal_getProperty(const saxreader *This, const WCHAR *prop, VARIANT *value, BOOL vb)
static void free_bstr_pool(struct bstrpool *pool)
static HRESULT WINAPI isaxxmlreader_getBaseURL(ISAXXMLReader *iface, const WCHAR **base_url)
static const WCHAR SchemaValidationW[]
static HRESULT WINAPI isaxxmlreader_getProperty(ISAXXMLReader *iface, const WCHAR *prop, VARIANT *value)
static HRESULT WINAPI isaxxmlreader_putProperty(ISAXXMLReader *iface, const WCHAR *pProp, VARIANT value)
static const WCHAR FeatureExternalParameterEntitiesW[]
static HRESULT WINAPI ivbsaxattributes_QueryInterface(IVBSAXAttributes *iface, REFIID riid, void **ppvObject)
static element_entry * pop_element_ns(saxlocator *locator)
static HRESULT WINAPI ivbsaxattributes_getIndexFromQName(IVBSAXAttributes *iface, BSTR QName, int *index)
static HRESULT WINAPI saxxmlreader_GetTypeInfo(IVBSAXXMLReader *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static void libxmlSetDocumentLocator(void *ctx, xmlSAXLocatorPtr loc)
static HRESULT WINAPI isaxlocator_QueryInterface(ISAXLocator *iface, REFIID riid, void **ppvObject)
static HRESULT saxreader_get_handler(const saxreader *reader, enum saxhandler_type type, BOOL vb, void **ret)
static saxreader * impl_from_IVBSAXXMLReader(IVBSAXXMLReader *iface)
static HRESULT WINAPI saxxmlreader_get_dtdHandler(IVBSAXXMLReader *iface, IVBSAXDTDHandler **handler)
static void free_attribute_values(saxlocator *locator)
static saxlocator * impl_from_ISAXAttributes(ISAXAttributes *iface)
static HRESULT WINAPI ivbsaxattributes_GetTypeInfo(IVBSAXAttributes *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static const WCHAR PropertyDeclHandlerW[]
static HRESULT WINAPI ivbsaxattributes_GetTypeInfoCount(IVBSAXAttributes *iface, UINT *pctinfo)
static HRESULT WINAPI saxxmlreader_get_entityResolver(IVBSAXXMLReader *iface, IVBSAXEntityResolver **resolver)
static HRESULT WINAPI ivbsaxlocator_QueryInterface(IVBSAXLocator *iface, REFIID riid, void **ppvObject)
static const WCHAR FeatureNamespacePrefixesW[]
static HRESULT WINAPI isaxxmlreader_putDTDHandler(ISAXXMLReader *iface, ISAXDTDHandler *handler)
static HRESULT internal_putProperty(saxreader *This, const WCHAR *prop, VARIANT value, BOOL vbInterface)
static HRESULT WINAPI saxxmlreader_put_baseURL(IVBSAXXMLReader *iface, BSTR pBaseUrl)
static BOOL sax_callback_failed(saxlocator *This, HRESULT hr)
static struct saxlexicalhandler_iface * saxreader_get_lexicalhandler(saxreader *reader)
static HRESULT WINAPI isaxxmlreader_getSecureBaseURL(ISAXXMLReader *iface, const WCHAR **pSecureBaseUrl)
static HRESULT WINAPI isaxlocator_getPublicId(ISAXLocator *iface, const WCHAR **ppwchPublicId)
HRESULT WINAPI SafeArrayGetUBound(SAFEARRAY *psa, UINT nDim, LONG *plUbound)
HRESULT WINAPI SafeArrayAccessData(SAFEARRAY *psa, void **ppvData)
HRESULT WINAPI SafeArrayUnaccessData(SAFEARRAY *psa)
HRESULT WINAPI SafeArrayGetLBound(SAFEARRAY *psa, UINT nDim, LONG *plLbound)
UINT WINAPI SafeArrayGetElemsize(SAFEARRAY *psa)
static const WCHAR typeW[]
const char * xmlGetCharEncodingName(xmlCharEncoding enc)
xmlCharEncoding xmlDetectCharEncoding(const unsigned char *in, int len)
@ XML_CHAR_ENCODING_UTF16LE
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLuint GLenum GLsizei const GLchar * buf
GLuint GLsizei GLsizei * length
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static const char * enc_name(unsigned char enc)
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
#define memmove(s1, s2, n)
static const char * debugstr_variant(const VARIANT *var)
static VARIANTARG static DISPID
INTERNETFEATURELIST feature
BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
static HRESULT return_bstrn(const WCHAR *value, int len, BSTR *p)
static HRESULT return_bstr(const WCHAR *value, BSTR *p)
static BSTR bstr_from_xmlChar(const xmlChar *str)
UINT WINAPI SysStringByteLen(BSTR str)
BSTR WINAPI SysAllocString(LPCOLESTR str)
UINT WINAPI SysStringLen(BSTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
XMLPUBFUN xmlParserCtxtPtr xmlCreateMemoryParserCtxt(const char *buffer, int size)
XMLPUBFUN int xmlSwitchEncoding(xmlParserCtxtPtr ctxt, xmlCharEncoding enc)
#define IsEqualGUID(rguid1, rguid2)
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
#define LIST_FOR_EACH_ENTRY_SAFE(cursor, cursor2, list, type, field)
XMLPUBFUN int xmlParseDocument(xmlParserCtxtPtr ctxt)
XMLPUBFUN void xmlFreeParserCtxt(xmlParserCtxtPtr ctxt)
XMLPUBFUN void xmlStopParser(xmlParserCtxtPtr ctxt)
IVBSAXContentHandler * vbhandler
ISAXContentHandler * handler
IVBSAXEntityResolver * vbhandler
ISAXEntityResolver * handler
IVBSAXErrorHandler * vbhandler
ISAXErrorHandler * handler
struct saxentityresolver_iface entityresolver
struct saxerrorhandler_iface error
union saxhandler_iface::@587 u
struct saxlexicalhandler_iface lexical
struct saxanyhandler_iface anyhandler
ISAXLexicalHandler * handler
IVBSAXLexicalHandler * vbhandler
IVBSAXLocator IVBSAXLocator_iface
IVBSAXAttributes IVBSAXAttributes_iface
ISAXLocator ISAXLocator_iface
xmlParserCtxtPtr pParserCtxt
ISAXAttributes ISAXAttributes_iface
saxreader_feature feature
ISAXXMLReader ISAXXMLReader_iface
saxreader_feature features
IVBSAXXMLReader IVBSAXXMLReader_iface
Character const *const prefix
#define CONTAINING_RECORD(address, type, field)
#define FORMAT_MESSAGE_FROM_SYSTEM
WINBASEAPI _In_ DWORD nLength
WINBASEAPI _In_ DWORD _Out_ _In_ WORD wFlags
XMLPUBFUN int xmlStrEqual(const xmlChar *str1, const xmlChar *str2)
XMLPUBFUN xmlChar * xmlStrdup(const xmlChar *cur)