Nikolay Sivov
9b98d69e06
xmllite: Fix setting local name when parsing QName.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:43 +01:00
Nikolay Sivov
20c575e81f
xmllite: Improve GetValue() for namespace definition nodes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:41 +01:00
Nikolay Sivov
13afa65fb1
xmllite: Implement GetNamespaceUri().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:39 +01:00
Nikolay Sivov
249b7a99a7
xmllite: Free prefix and local name too when clearing element list.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:38 +01:00
Nikolay Sivov
585735a0da
xmllite: Update prefix when moving to first attribute.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:35 +01:00
Nikolay Sivov
0575a4b2bb
xmllite: Use a helper to move to first attribute to avoid extra traces.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:33 +01:00
Nikolay Sivov
65ee2b734a
xmllite: Keep namespace list updated when going through document tree.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:32 +01:00
Nikolay Sivov
18d6deff6d
xmllite: Keep a list of namespace definitions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:30 +01:00
Nikolay Sivov
635c409126
xmllite: Store prefix for elements.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:28 +01:00
Nikolay Sivov
f185dd51fd
xmllite: Store empty element fields separately.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:26 +01:00
Nikolay Sivov
a39251b096
xmllite: Improve writer methods tracing.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:24 +01:00
Grant Paul
65cbc12ac6
xmllite: Parse URLs in `DOCTYPE PUBLIC` DTDs.
...
Signed-off-by: Grant Paul <git@grantpaul.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:32:09 +01:00
Nikolay Sivov
ac83cb99ee
xmllite: Store and return MultiLanguage reader property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-30 17:08:03 +01:00
Jacek Caban
0414332b08
xmllite: Return success when setting XmlReaderProperty_MaxElementDepth property.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-27 18:05:32 +02:00
Jacek Caban
10026466a3
xmllite: Return success when setting XmlReaderProperty_MultiLanguage property.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-27 18:05:30 +02:00
Nikolay Sivov
099eda8ead
xmllite/writer: Fix formatted output with WriteFullEndElement().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:17:32 +09:00
Nikolay Sivov
0fd4fae7c5
xmllite/writer: Implement WriteCharEntity().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:17:30 +09:00
Nikolay Sivov
8b2b455bd0
xmllite/writer: Close open tag with WriteFullEndElement().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:17:28 +09:00
Nikolay Sivov
895ad74fb0
xmllite/writer: Support trivial case of WriteAttributeString().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 23:07:22 +09:00
Nikolay Sivov
c52fa73a43
xmllite/writer: Initial support for indented output.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 11:17:52 +09:00
Nikolay Sivov
4dcbf2b4b2
xmllite/writer: Make it possible to use WriteRaw() multiple times.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:35:11 +09:00
Nikolay Sivov
1cb6fa5e84
xmllite/writer: Fix a bunch of Write* methods to set closed state.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:35:07 +09:00
Nikolay Sivov
2d9f6f7215
xmllite/writer: Put writer into closed state on WriteAttributeString().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:35:03 +09:00
Nikolay Sivov
e89c2df7c5
xmllite/writer: Handle initial and ready states in the rest of tested Write* methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:35:00 +09:00
Nikolay Sivov
e3a6d59324
xmllite/writer: Fix WriteEndElement()/WriteFullEndElement() on ready state.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-23 22:58:38 +09:00
Nikolay Sivov
6ca1ebdd25
xmllite/writer: Properly fail on initial state in WriteEndElement().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-23 22:58:36 +09:00
Nikolay Sivov
86a7dd99e0
xmllite/writer: Fix initial state handling in WriteEndDocument().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-23 22:58:34 +09:00
Nikolay Sivov
8ad295ed70
xmllite/tests: A test for Write* behaviour on initial writer state.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-23 22:58:31 +09:00
Nikolay Sivov
450a343f77
xmllite/tests: Add a helper to create/set writer output.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:31 +09:00
Nikolay Sivov
1a68193454
xmllite/tests: Add a helper to test writer output.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:31 +09:00
Nikolay Sivov
b9b2dafb50
xmllite/tests: Use static linking to xmllite.dll.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:30 +09:00
Nikolay Sivov
41f22e4cd1
xmllite/writer: Implement WriteRaw().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:30 +09:00
Nikolay Sivov
7b8929e0f5
xmllite/writer: Implement WriteCData().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 12:13:46 +09:00
Nikolay Sivov
41fcd1042e
xmllite/writer: Implement WriteComment().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 10:15:29 +09:00
Nikolay Sivov
aaac0db600
xmllite: Support get/set for XmlResolver property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 19:05:26 +09:00
Nikolay Sivov
b190a72bfe
xmllite/tests: Use todo_wine_if() in tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 23:50:15 +09:00
Alistair Leslie-Hughes
3e9b4c1a17
xmllite/tests: Fix memory leak (valgrind).
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 16:39:17 +09:00
Nikolay Sivov
dc72103a1d
xmllite: Don't use HRESULT codes for BOOL retval (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:34 +09:00
Hans Leidekker
d1658260a2
xmllite: Implement CreateXmlWriterOutputWithEncodingCodePage.
2015-08-06 21:42:19 +09:00
Nikolay Sivov
aadd9ff159
xmllite/writer: Implement WriteEndDocument().
2015-05-20 17:28:58 +09:00
Vincent Povirk
8615365945
xmllite: Fix reader_cmp for multiple characters.
2015-02-23 15:25:55 +09:00
Vincent Povirk
fd5a8a9db8
xmllite: Length is optional in IXmlReader::GetQualifiedName.
2015-01-23 11:08:15 +01:00
André Hentschel
b91084a992
xmllite/tests: Clarify ok() condition (PVS-Studio).
2014-11-11 14:21:37 +09:00
Francois Gouget
0dd5cb1cef
Assorted spelling fixes.
2014-09-29 10:36:36 +02:00
Gerald Pfeifer
a8975f7dff
xmllite: Remove unused function reader_get_len.
2014-08-11 23:55:17 +02:00
Nikolay Sivov
bfceaa4f39
xmllite/writer: Implement WriteFullEndElement().
2014-06-17 13:03:18 +02:00
Nikolay Sivov
af46bab594
xmllite/writer: Maintain a stack of written elements to write end tags.
...
Xmllite helps in a way that user doesn't have to specify closing tag
name (like it has to in case of MXWriter). So when closing current level
element qname is used for a closing tag; later this stack will also hold
namespace definitions that element is carrying to check if nested
element uses defined prefix.
2014-06-16 09:31:40 +02:00
Nikolay Sivov
f43a6d46da
xmllite/writer: Initial implementation of WriteElementString().
2014-05-21 12:07:37 +02:00
Nikolay Sivov
2177403b8e
xmllite/writer: Initial implementation of WriteStartElement().
2014-05-21 12:07:35 +02:00
Nikolay Sivov
086a1e3709
xmllite/writer: Implement ByteOrderMark property.
2014-05-20 21:26:55 +02:00