Commit Graph

119 Commits

Author SHA1 Message Date
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
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 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 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
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
Gerald Pfeifer a8975f7dff xmllite: Remove unused function reader_get_len. 2014-08-11 23:55:17 +02:00
Nikolay Sivov a0f67c3695 xmllite/writer: Initial support for starting a document. 2014-05-15 19:05:00 +02:00
Nikolay Sivov 71ab66efa0 xmllite/writer: Initial support of output buffer creation. 2014-05-15 19:04:59 +02:00
Nikolay Sivov 0ae578b71c xmllite/reader: Create reader input with same IMalloc as reader. 2014-05-15 19:04:58 +02:00
Nikolay Sivov d2737dde80 xmllite/writer: Implement GetProperty(). 2014-05-14 11:25:15 +02:00
Nikolay Sivov 9080329e4e xmllite/writer: Implement SetOutput() for writer. 2014-05-13 16:59:00 +02:00
Nikolay Sivov ac8a24aa26 xmllite: Implement CreateXmlWriterOutputWithEncodingName(). 2014-03-21 11:17:51 +01:00
Dmitry Timoshkov 529d9ea922 xmllite: Also clear the attr pointer in reader_clear_attrs. 2014-02-22 08:40:44 -06:00
Dmitry Timoshkov 5425cb3413 xmllite: Don't fail the whole parsing process because of unsupported 'xmlns' attribute. 2014-02-17 11:16:42 +01:00
Dmitry Timoshkov f78b4f305d xmllite: Reader should set starting string offsets when encoding is being parsed. 2014-02-14 13:49:24 +01:00
Dmitry Timoshkov 09f371920f xmllite: Don't fail if standalone declaration is missing. 2014-02-14 13:49:01 +01:00
Dmitry Timoshkov 376eff51e0 xmllite: Don't fail if encoding declaration is missing. 2014-02-14 13:48:57 +01:00
Dmitry Timoshkov 07e7f40dc9 xmllite: Constify pointers in arrays that hold const data. 2014-01-01 11:44:25 +01:00
Dmitry Timoshkov 1be348ea51 xmllite: Use wine_dbg_sprintf instead of a static buffer. 2014-01-01 11:44:21 +01:00
Frédéric Delanoy 78cf65abb1 xmllite: Constify some character strings. 2013-12-19 17:09:19 +01:00
Francois Gouget ee28dd80ea Assorted spelling fixes. 2013-11-01 10:54:32 +01:00
Marcus Meissner 468be8b9d2 xmllite: Annotate fallthrough case (Coverity). 2013-10-28 10:39:35 +01:00
Nikolay Sivov 619ceae967 xmllite: Support resuming and value reporting for whitespace nodes in Misc. 2013-10-14 10:49:53 +02:00
Frédéric Delanoy 77a26de975 xmllite: Use BOOL type where appropriate. 2013-10-10 10:44:35 +02:00
Nikolay Sivov 587398259e xmllite: Correct allocated destination buffer size. 2013-10-09 19:28:16 +02:00
Nikolay Sivov feda40bbaa xmllite: Fix overwriting of dest buffer when pushing more data to it. 2013-10-09 19:28:11 +02:00
Nikolay Sivov ae341b9bd7 xmllite: Use buffer offset instead of pointers. 2013-10-09 17:48:26 +02:00
Nikolay Sivov ece36f17d0 xmllite: Fix node type for whitespace text nodes in Content. 2013-09-30 20:34:52 +02:00
Nikolay Sivov 249b45786f xmllite: Reset resume state when text node is parsed. 2013-09-30 20:34:52 +02:00
Nikolay Sivov c75726ba76 xmllite: Support predefined xml entities. 2013-08-20 13:01:00 +02:00
Nikolay Sivov a04064b886 xmllite: Improve attribute value parsing. 2013-08-19 12:53:21 +02:00
Nikolay Sivov e51ab3c03a xmllite: Support reporting of a local name and value for attributes. 2013-08-19 12:53:21 +02:00
Nikolay Sivov 53f72826a2 xmllite: Initial implementation of attribute parsing. 2013-07-30 19:12:04 +02:00
Nikolay Sivov 80e70a8271 xmllite: Handle nesting depth limit better. 2013-07-24 11:11:38 -05:00
Nikolay Sivov 40c72e47ab xmllite: Clear attributes on node change, improve tracing. 2013-07-24 11:11:32 -05:00
Nikolay Sivov be8d73d456 xmllite: Report attribute as non-default for now. 2013-07-22 17:15:59 +02:00
Nikolay Sivov d315e438a2 xmllite: Implement IsEmptyElement(). 2013-07-22 17:15:59 +02:00
Nikolay Sivov f02b2225ee xmllite: Initial support for CharData (or Text) nodes. 2013-07-22 17:15:59 +02:00