[xml] libxml2-2.6.26: xmlXPathCacheNewString(): Bus error (core dumped)

2006-07-11 Thread Guang Yang
Hi all,I am having a problem with the latest libxml2-2.6.26. Here is the simple .cc file that incurs the bus error, where the file "test.xsl" contains an xsl stylesheet.#include void main () {xmlDocPtr xmldoc = xmlParseFile("test.xsl");xsltParseStylesheetDoc(xmldoc);}It compiles (in FreeBSD

[xml] libxml2.zlib-feature.awn.1.patch

2006-07-11 Thread Andrew W. Nosenko
Attached patch allows to see, whether libxml2 was compiled with Zlib support over 'xmllint --help' and/or 'xmlHasFeature(XML_WITH_ZLIB)'. 2006-07-11 Andrew W. Nosenko <[EMAIL PROTECTED]> * parser.c (xmlHasFeature): * include/libxml/parser.h (XML_WITH_ZLIB): * include/li

Re: [xml] error message in other language

2006-07-11 Thread Daniel Veillard
On Tue, Jul 11, 2006 at 02:51:10PM +0200, Anne Müller wrote: > Hi, > > I have an xmlErrorPtr error. > > I want to show error messages (error->message) like > > “Element p is not declared in span list of possible children”. > > It works fine but I need this message in German. Has anybody an idea

Re: [xml] Access violations with xmlDocDumpMemory

2006-07-11 Thread Andreas Tscharner
> But now I'm having a problem with xmlDocDumpMemory in all > flowers (e.g. > with or without *Format and *Enc). No matter which of these > functions I call, I always get an access violation. Problem solved. It was (as usual) located between chair and computer. I was confused by the variable typ

[xml] error message in other language

2006-07-11 Thread Anne Müller
Hi, I have an xmlErrorPtr error. I want to show error messages (error->message) like “Element p is not declared in span list of possible children”. It works fine but I need this message in German. Has anybody an idea how this could work?   Thanks Anne __

[xml] Access violations with xmlDocDumpMemory

2006-07-11 Thread Andreas Tscharner
Hello World, I'm creating a new document in the memory. The document is well formed and if I save it to the file system using xmlSave[Format]FileEnc, I get the exspected result. The problem is that I need the document in a string, so I thought to use one of xmlDocDump*Memory* family. The document