Re: [xml] Error report with RelaxNG

2005-02-04 Thread Marc Poinot
A cannot see my answer on the libxml2 mailing list, I send it again. Daniel Veillard wrote: > > Not really. Can you provide the smallest XML files for the > RNG and the XML showing the problem, then we can debug what's actually > happening. > See attachment. Actually, the error is catched, but

Re: [xml] Error report with RelaxNG

2005-02-04 Thread Marc Poinot
Daniel Veillard wrote: > > Not really. Can you provide the smallest XML files for the > RNG and the XML showing the problem, then we can debug what's actually > happening. > See attachment. Actually, the error is catched, but the returned diag is not usable. I wonder if I have to use the lib in

Re: [xml] [patch]wiki api docs

2005-02-04 Thread Daniel Veillard
On Wed, Feb 02, 2005 at 10:37:14PM -0500, Joel Reed wrote: > The following patch adds a "wiki" target to doc/Makefile.am and a new > stylesheet wiki.xsl which is a cut-down version of newapi.xsl. > > This cut-down version eliminates all the menuing and such that > won't be needed for libxml wiki d

Re: [xml] Delphi bindings for libxml2

2005-02-04 Thread Kasimier Buchcik
Hi, [EMAIL PROTECTED] wrote: In repsonse to Kasimier's queries: This is good to hear! Will the bindings be Kylix compatible as well? The bindings ought to work with Kylix, but I have tested them using only a very simple example. I do not intend to support Pascal compilers other than Delphi/Kylix,

Re: [xml] wide characters & xmlDocDumpFormatMemory

2005-02-04 Thread Daniel Veillard
On Fri, Feb 04, 2005 at 06:04:00AM -0500, Daniel Veillard wrote: > On Fri, Feb 04, 2005 at 10:47:24AM +, David Harris wrote: > > xmlDocDumpFormatMemory works fine in xmlbuff is coerced to char but not > > wchar_t. How can I use wide characters? are there wide character versions > > of > > th

Re: [xml] wide characters & xmlDocDumpFormatMemory

2005-02-04 Thread Daniel Veillard
On Fri, Feb 04, 2005 at 10:47:24AM +, David Harris wrote: > res = xsltApplyStylesheet(cur, doc, params); > xmlDocDumpFormatMemory(res, &xmlbuff, &buffersize, 1); B wrong approach. You need an XSLt specific serialization funtion like indicated in the tutorial, plus define in your styl

[xml] wide characters & xmlDocDumpFormatMemory

2005-02-04 Thread David Harris
Hi I'm trying to use utf8 in my application, the jist of it being this; cur = xsltParseStylesheetFile(xsltfilename); doc = xmlParseMemory (var.c_str(),var.size()); doc = xmlParseFile(xmlfilename); ... res = xsltApplyStylesheet(cur, doc, params); xmlDocDumpFormatMemory(res, &xmlbuff, &buffer