Author: akhaldi
Date: Thu Nov 17 23:30:21 2016
New Revision: 73311
URL:
http://svn.reactos.org/svn/reactos?rev=73311&view=rev
Log:
[XMLLITE] Sync with Wine Staging 1.9.23. CORE-12409
Modified:
trunk/reactos/dll/win32/xmllite/reader.c
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/xmllite/reader.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/xmllite/reader.c…
==============================================================================
--- trunk/reactos/dll/win32/xmllite/reader.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/xmllite/reader.c [iso-8859-1] Thu Nov 17 23:30:21 2016
@@ -234,6 +234,7 @@
XmlNodeType nodetype;
DtdProcessing dtdmode;
IXmlResolver *resolver;
+ IUnknown *mlang;
UINT line, pos; /* reader position in XML stream */
struct list attrs; /* attributes list for current node */
struct attribute *attr; /* current attribute */
@@ -2464,6 +2465,7 @@
IMalloc *imalloc = This->imalloc;
if (This->input)
IUnknown_Release(&This->input->IXmlReaderInput_iface);
if (This->resolver) IXmlResolver_Release(This->resolver);
+ if (This->mlang) IUnknown_Release(This->mlang);
reader_clear_attrs(This);
reader_clear_elements(This);
reader_free_strvalues(This);
@@ -2548,6 +2550,11 @@
switch (property)
{
+ case XmlReaderProperty_MultiLanguage:
+ *value = (LONG_PTR)This->mlang;
+ if (This->mlang)
+ IUnknown_AddRef(This->mlang);
+ break;
case XmlReaderProperty_XmlResolver:
*value = (LONG_PTR)This->resolver;
if (This->resolver)
@@ -2575,6 +2582,15 @@
switch (property)
{
+ case XmlReaderProperty_MultiLanguage:
+ if (This->mlang)
+ IUnknown_Release(This->mlang);
+ This->mlang = (IUnknown*)value;
+ if (This->mlang)
+ IUnknown_AddRef(This->mlang);
+ if (This->mlang)
+ FIXME("Ignoring MultiLanguage %p\n", This->mlang);
+ break;
case XmlReaderProperty_XmlResolver:
if (This->resolver)
IXmlResolver_Release(This->resolver);
@@ -2585,6 +2601,9 @@
case XmlReaderProperty_DtdProcessing:
if (value < 0 || value > _DtdProcessing_Last) return E_INVALIDARG;
This->dtdmode = value;
+ break;
+ case XmlReaderProperty_MaxElementDepth:
+ FIXME("Ignoring MaxElementDepth %ld\n", value);
break;
default:
FIXME("Unimplemented property (%u)\n", property);
@@ -2979,6 +2998,7 @@
reader->resumestate = XmlReadResumeState_Initial;
reader->dtdmode = DtdProcessing_Prohibit;
reader->resolver = NULL;
+ reader->mlang = NULL;
reader->line = reader->pos = 0;
reader->imalloc = imalloc;
if (imalloc) IMalloc_AddRef(imalloc);
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Thu Nov 17 23:30:21 2016
@@ -218,7 +218,7 @@
reactos/dll/win32/xinput1_2 # Synced to WineStaging-1.9.11
reactos/dll/win32/xinput1_3 # Synced to WineStaging-1.9.23
reactos/dll/win32/xinput9_1_0 # Synced to WineStaging-1.9.11
-reactos/dll/win32/xmllite # Synced to WineStaging-1.9.16
+reactos/dll/win32/xmllite # Synced to WineStaging-1.9.23
reactos/dll/cpl/inetcpl # Synced to WineStaging-1.9.11