etter.
>
> Could you elaborate?
Sure, attached.
>
> Best Regards.
>
> On 06/05/2016 05:07 PM, Nikolay Sivov wrote:
>> This makes sense, I think this is worth fixing. I suggest to tweak a
>> patch a bit - remove initializers you d
On 03.06.2016 11:51, Fabrice Manfroi wrote:
> Hello,
>
> I'm trying to build the last libxml2 version (2.9.4) with an old Visual
> Studio version (2005, 2008 and 2010) and I get the following errors:
>
> ===
>
> ..\relaxng.c(2218) : error C2275: 'xmlChar' : illegal use of this type
> as an
On 16.04.2016 11:23, Sylvain Pointeau wrote:
>
> FILE*f = fopen("C:\\myfolder\testdata.xml", "w");
>
> xmlOutputBufferPtroutput = xmlOutputBufferCreateFile(f, NULL);
>
> xmlOutputBufferWriteString(output, "WHY DO YOU CRASH?");
>
> xmlOutputBufferClose(output); <- at this moment it displays I/O
On 4/10/2014 16:20, Bart De Schuymer wrote:
Hello,
We tried using libxml2 configured with the --with-fexceptions option
and have identified a memory leak when our C++ startElement callback
throws an exception.
The cause of the leak is as follows:
xmlParseStartTag frees all attribute values
On 4/10/2014 16:53, Bart De Schuymer wrote:
On Thu, Apr 10, 2014 at 2:30 PM, Nikolay Sivov bungleh...@gmail.com
mailto:bungleh...@gmail.com wrote:
On 4/10/2014 16:20, Bart De Schuymer wrote:
Hello,
We tried using libxml2 configured with the --with-fexceptions
option
On 4/10/2014 16:53, Bart De Schuymer wrote:
On Thu, Apr 10, 2014 at 2:30 PM, Nikolay Sivov bungleh...@gmail.com
mailto:bungleh...@gmail.com wrote:
On 4/10/2014 16:20, Bart De Schuymer wrote:
Hello,
We tried using libxml2 configured with the --with-fexceptions
option
On 3/9/2014 17:33, Nick Wellnhofer wrote:
I can’t find out how to add a DTD (internal subset) to a document without
poking into libxml2’s internal data structures. The obvious approach is to add
a xmlDtdPtr using
xmlAddPrevSibling on the document root. But this will cause a memory leak because
On 12/26/2013 14:19, Shlomi Fish wrote:
Hi all,
happy holidays and a happy new (civil) year.
I'm the maintainer of XML::LibXSLT which are the CPAN bindings for libxslt.
Now, someone reported that the clang compiler emits some warnings, and part of
the problem was that I passed 1.0 to xmlNewDoc
On 10/20/2013 19:13, Bogdan Cristea wrote:
First, I am puzzled by the way I can obtain the text contained by h1
element. I am using the node from a previous xmlTextReaderRead() call.
If I try to obtain the current node in XML_READER_TYPE_TEXT case the
node pointer is NULL.
Well, that's not
Fixes compiler warning
From fabdca3c0314e4ede352dbab8fb50017d78fda52 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov nsi...@codeweavers.com
Date: Tue, 30 Apr 2013 17:45:36 +0400
Subject: [PATCH] Cast encoding name to char pointer to match arg type
---
parser.c |2 +-
1 file changed, 1
/4/2013 12:59 AM, Nikolay Sivov wrote:
I think it's more a question for Daniel, but any help is welcome of
course. Libxml2 merges text nodes to a single node when you add text
child next to existing text node for example, so at least
xmlAddNextSibling, xmlAddPrevSibling and xmlAddChild are doing
Sep 17 00:00:00 2001
From: Nikolay Sivov nsi...@codeweavers.com
Date: Tue, 30 Apr 2013 17:45:36 +0400
Subject: [PATCH] Cast encoding name to char pointer to match arg type
---
parser.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parser.c b/parser.c
index b9df6d8..1d478c3
On 4/29/2013 07:30, Nikita Churaev wrote:
#include libxml/parser.h
#include libxml/tree.h
#include stdio.h
int
main (int argc, char** argv)
{
xmlDocPtr doc = xmlReadMemory(doc/, 6, egg.xml, NULL, 0);
/* XmlNode *//* XmlDoc */
printf(%s\n,
and cast appropriately.
On Mon, 2013-04-29 at 07:48 +0400, Nikolay Sivov wrote:
On 4/29/2013 07:30, Nikita Churaev wrote:
#include libxml/parser.h
#include libxml/tree.h
#include stdio.h
int
main (int argc, char** argv)
{
xmlDocPtr doc = xmlReadMemory(doc/, 6, egg.xml, NULL, 0
-29 at 08:14 +0400, Nikolay Sivov wrote:
On 4/29/2013 07:59, Nikita Churaev wrote:
No it's not.
http://xmlsoft.org/html/libxml-tree.html#xmlDoc
http://xmlsoft.org/html/libxml-tree.html#xmlNode
xmlDoc has int compression instead of xmlNode's xmlNs
I see what you mean. All node types are using
Hi,
Got a question on libxml2 hash implementation.
Let's say I want to have index access to hash data, so I call
xmlHashAddEntry for item1
xmlHashAddEntry for item2
xmlHashAddEntry for item3
Is it wrong assumption to expect xmlHashScan calling back exactly in
same order as I added these
On 10/31/2012 08:09, Daniel Veillard wrote:
On Wed, Oct 31, 2012 at 08:45:35AM +0300, Nikolay Sivov wrote:
Hi,
Got a question on libxml2 hash implementation.
Let's say I want to have index access to hash data, so I call
xmlHashAddEntry for item1
xmlHashAddEntry for item2
xmlHashAddEntry
On 7/23/2012 17:23, Earnie Boyd wrote:
On Wed, May 23, 2012 at 8:30 AM, Patrick Gansterer wrote:
On Wed, 23 May 2012 14:16:48 +0200, Bjoern Hoehrmann wrote:
* Daniel Veillard wrote:
C.f. the bug Fix windows unicode build
https://bugzilla.gnome.org/show_bug.cgi?id=638650
and the previous
On 5/23/2012 12:41, Daniel Veillard wrote:
C.f. the bug Fix windows unicode build
https://bugzilla.gnome.org/show_bug.cgi?id=638650
and the previous discussions here:
http://mail.gnome.org/archives/xml/2008-February/msg00094.html
now that the release is done, can we have a final
On 5/23/2012 14:19, Ralf Junker wrote:
I strongly believe that LoadLibraryW should be used for any Windows
version that supports it.
Of course it should be preferred if you've got choice.
The SQLite OS layer for Win32 shows how this can be done. It converts
UTF-8 to wchar_t* before calling
On 5/23/2012 14:44, Ralf Junker wrote:
On 23.05.2012 14:26, Nikolay Sivov wrote:
It's not a question how to use MultiByteToWideChar() to do UTF-8 -
WCHAR, the question is does 'name' argument is UTF-8 string or not.
By the way, is dlopen() supposed to work on UTF-8 input? I doubt so,
and since
On 2/2/2012 12:17, John J. Boyer wrote:
How do I find the encoding of an xml document? My Braille transcription
software requires UTF-8.
What are you trying to do?
If you need to get parsed document encoding I guess it's stored in
xmlDoc.encoding field and probably in parser context as well.
On 4/5/2011 08:29, Wolfgang Rohdewald wrote:
Hi,
meinproc4.exe (from KDE on windows) always crashes.
using libxml2-2.7.7
I think I found one problem causing this in
xmlSAX2TextNode
using the xmlDict for short strings and such for
avoiding malloc/free on them. So it sets the
text node content
On Sun, Mar 13, 2011 at 12:51:26AM +0300, Nikolay Sivov wrote:
Hi.
It seems to me that xmlAddChild behaviour is kinda unexpected when
you try to add a node that is altready linked to another document
(or node of another type). If you don't xmlUnlinkNode before add
call this results in node
Comparing xmlChar* pointer with 0 but defined as some enum element is a
bit confusing. This patch makes it look like the rest of similar cases.
From 284cbbd2032eb0789fc5f1ca58630c4430d1db91 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov nsi...@codeweavers.com
Date: Sat, 30 Oct 2010 01:37:38 +0400
On 10/13/2010 23:54, Chi Yin Luk wrote:
I am using libxml2.2.7.3.dylib on my iPhone application.
The application is targeting iOS 3.2, but the xmlFreeDoc() fails when
the application is running on iPhone 4, but not on iOS 3.2 or before.
I also tried targeting iOS 4 and running on iPhone 4,
On 6/23/2010 16:41, James Ytterstene wrote:
Hello
Im writing a c++ wrapper where i read a XML file with the
xmlReadFile(filename, NULL, 0);
I have created the file via libxml2 calls and got it saved to disk.
The file im trying to read in my example is:
On 2/16/2010 14:59, Daniel Veillard wrote:
On Sat, Feb 13, 2010 at 07:17:52PM +0300, Nikolay Sivov wrote:
I've just run into a problem I don't understand - when I parse a
document with dtd and
line returns '\n' in the content that followed dtd tree get
additional text nodes for each '\n
I've just run into a problem I don't understand - when I parse a
document with dtd and
line returns '\n' in the content that followed dtd tree get additional
text nodes for each '\n'.
Inline example shows that. test2 produces text nodes - doc has 3
children (direct of course),
but doc from
Both calls have a header comment about their reentrance capability. Is
it a comment bug?
Does reentrant in this case mean that I can pass a string already
encoded with xmlEncodeEntitiesReentrant
to this call again?
___
xml mailing list, project page
On 2/10/2010 19:12, Daniel Veillard wrote:
On Wed, Feb 10, 2010 at 06:15:38PM +0300, Nikolay Sivov wrote:
Both calls have a header comment about their reentrance capability.
Is it a comment bug?
Does reentrant in this case mean that I can pass a string already
encoded
On 2/10/2010 19:12, Daniel Veillard wrote:
On Wed, Feb 10, 2010 at 06:15:38PM +0300, Nikolay Sivov wrote:
Both calls have a header comment about their reentrance capability.
Is it a comment bug?
Does reentrant in this case mean that I can pass a string already
encoded
Spotted while studying xmlsave.c.
0001-Fix-some-typos-in-comments.patch
Description: application/mbox
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
On 1/19/2010 17:46, Daniel Veillard wrote:
On Fri, Jan 15, 2010 at 10:50:15PM +0300, Nikolay Sivov wrote:
Hi.
First on question background. I want to use xmlTextReader API to
access streamed xml data.
Decided to allocate input buffer with xmlAllocParserInputBuffer()
and use read callback
Spotted this in compile warnings.
0001-Correct-variable-type-to-unsigned.diff
Description: application/mbox
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
Hi.
First on question background. I want to use xmlTextReader API to access
streamed xml data.
Decided to allocate input buffer with xmlAllocParserInputBuffer() and
use read callback to provide xml data
(no choice here for me actually).
Is it safe to manually set 'readcallback' and 'context'
36 matches
Mail list logo