Re: [xml] xmlChar double ptr

2008-05-06 Thread Aron Stansvik
2008/5/6 [EMAIL PROTECTED]: Hei, how do i define a double ptr xmlChar? is it possible at all? static xmlChar* mapper[] = {bla, blubber} ; doesn't work. g++ says XMLStructure.h:75: error: invalid conversion from 'const char*' to 'xmlChar*' XMLStructure.h also includes:

Re: [xml] Better hash function for dict.c

2008-04-22 Thread Aron Stansvik
2008/4/22, Daniel Veillard [EMAIL PROTECTED]: On Sun, Apr 20, 2008 at 10:51:38AM +0200, Stefan Behnel wrote: Hi again (and sorry for all the noise), Stefan Behnel wrote: If an application benefits from a different hash function depends on the vocabulary it uses in its XML files.

Re: [xml] get contents literally (or strip outer element tags)?

2008-03-02 Thread Aron Stansvik
2008/3/2, Hans Martin [EMAIL PROTECTED]: Hi, I'm using libxml2 2.6.31 with Python 2.4. I try to get from: asome bcontent/b is in; here/a the content of a unchanged: some bcontent/b is in; here However, with the get_contents and children methods, I don't get that literally. Is

Re: [xml] Useless function calls in xmlSetProp()?

2008-02-22 Thread Aron Stansvik
2008/2/22, Julien Charbon [EMAIL PROTECTED]: Daniel Veillard wrote: On Fri, Feb 08, 2008 at 05:17:31PM +0100, Julien Charbon wrote: Seems fine and clear. Attached to this email the final patch against current trunk. okidoc, rereviewed it, it looks fine, applied, tested still

Re: [xml] xmlNodeDump looses data

2008-02-15 Thread Aron Stansvik
2008/2/15, Petr Pajas [EMAIL PROTECTED]: Hi Daniel, All, one of the users of the Perl bindings reported a strange bug which I was able to reduce to the attached very very simple test.c program and a XML file test2.xml. The program parses the XML file into a tree, and then dumps the root

Re: [xml] XML typing

2007-12-28 Thread Aron Stansvik
2007/12/28, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi I'm a XML newbie and I'm facing the following (trivial) problem. I have read and implemented the XMLTutorial. Now I want to use libxml for reading a XML file I have created. The XML file seems like that command CMD=CMD_TBL_HELP

Re: [xml] xsd validation

2007-12-18 Thread Aron Stansvik
Hello Senthil. 2007/12/18, Senthil Nathan [EMAIL PROTECTED]: Hi, I would like to know is there any examples available with libxml2, which validates the xml files against a xsd schema. I guess, xml schema is still under development in libxml2. But please point to me, if there is an example

Re: [xml] Streaming XPATH and xmlPatternCompile

2007-10-25 Thread Aron Stansvik
2007/10/17, s kum [EMAIL PROTECTED]: Hi, We are looking for a way to process XPATH expressions on very large xml documents. Because of the size of the documents, we like to use stream processing – something along the lines of XPathReader from MS. Searching the archive, we found we could

Re: [xml] Streaming XPATH and xmlPatternCompile

2007-10-25 Thread Aron Stansvik
2007/10/25, Daniel Veillard [EMAIL PROTECTED]: On Thu, Oct 25, 2007 at 01:58:58PM +0200, Aron Stansvik wrote: 2007/10/17, s kum [EMAIL PROTECTED]: Hi, We are looking for a way to process XPATH expressions on very large xml documents. Because of the size of the documents, we like

Re: [xml] tool to convert SQL result into xml

2007-01-25 Thread Aron Stansvik
2007/1/24, Liam R E Quin [EMAIL PROTECTED]: On Wed, Jan 24, 2007 at 12:36:34PM -0800, Steve Yan wrote: I am looking for such a tool which convert the results from a SQL select into XML format. There are several ways to do this; some XQuery implementaions can do it natively... or you could

Re: [xml] tool to convert SQL result into xml

2007-01-24 Thread Aron Stansvik
2007/1/24, Steve Yan [EMAIL PROTECTED]: Hi, I am looking for such a tool which convert the results from a SQL select into XML format. This is completely off-topic for this mailing list. Please ask on SQLite mailing list instead. Regards, Aron ___

Re: [xml] decimal problem

2006-12-12 Thread Aron Stansvik
to work. I don't think English is a valid locale, I think you should use en_US or similar. Best regards Aron Stansvik Anybody has an clue? Cheerz, David [Source code listing] - xmlTextWriterPtr writer = NULL; xmlDocPtr doc = NULL; char xmlFilename[100

Re: [xml] gdome_di_createDocFromMemory Memory Leak

2006-11-16 Thread Aron Stansvik
exists Can somebody please throw some light into this As Daniel already pointed out, this list is for libxml2, not gdome. Maybe you should try the gdome mailing list instead? [1] Best regards, Aron Stansvik [1] http://mail.gnome.org/mailman/listinfo/gdome -Original Message- From

Re: [xml] Wipe formating text (space, tabulation, carriage return, ..) of XML file with libxml2 c library

2006-11-10 Thread Aron Stansvik
2006/11/10, Laurent Guignard [EMAIL PROTECTED]: Hi, How can i do to wipe all formating characters of an XML file with the libxml2 library ?? I trie for several days and all my attempts failed ! XML has no concept of formatting characters. If you're talking about white space characters, then

Re: [xml] xmllint --nowarning = no information

2006-10-11 Thread Aron Stansvik
2006/10/11, Daniel Veillard [EMAIL PROTECTED]: On Wed, Oct 11, 2006 at 06:45:08PM +0200, Aron Stansvik wrote: 2006/10/11, Daniel Veillard [EMAIL PROTECTED]: On Wed, Oct 11, 2006 at 09:02:20AM -0700, Bob Stayton wrote: Sure, try this test file with elements out of order: Okay I

Re: [xml] Binary data to child

2006-08-08 Thread Aron Stansvik
On 8/8/06, Kannaiyan Natesan [EMAIL PROTECTED] wrote: Hi, How can I add a binary data to xml with a defined length? I just have only --with-tree compiled in my libxml build. XML is text. Serialize the data to something like base64 first? Regards, Aron

Re: [xml] Parsing xml files

2006-05-29 Thread Aron Stansvik
On 5/27/06, Sukomal Pal [EMAIL PROTECTED] wrote: Hi, I want to access the leaf elements in a xml document file and store them as a plain text file removing the tags.I am new to xml and libxml.From the documents and help material of http://xmlsoft.org/ ,I am not getting which module to take

Re: [xml] encoding fails

2006-05-25 Thread Aron Stansvik
On 5/25/06, Bjoern Hoehrmann [EMAIL PROTECTED] wrote: * Aron Stansvik wrote: On 5/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ?xml version=1.0 encoding=ISO-8859-1? rss version=2.0 channel titleAftonbladet #246;jesliv/title /channel /rss I try to extract the title

Re: [xml] more questions on catalogs

2006-02-25 Thread Aron Stansvik
not ask the pkgsrc system ;) Regards, Aron Stansvik ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] more questions on catalogs

2006-02-25 Thread Aron Stansvik
On 2/24/06, Rick Jones [EMAIL PROTECTED] wrote: Chris Wareham wrote: Rick Jones wrote: I've not looked through the other patches, but I don't think any changes that are made to xml2-config have to do with XML catalog support. Those kind of config scripts are normally just patched to add

Re: [xml] Ruby bindings - new location

2006-02-24 Thread Aron Stansvik
on Ruby bindings, it's my glue language of choice in most cases :) Best regards, Aron Stansvik I wonder if the link from the language bindings page on the LibXML2 site could be updated with this new address? Thanks, -- Ross Bamford - [EMAIL PROTECTED

[xml] Problem with UTF8Toisolat1()

2005-12-19 Thread Aron Stansvik
of the Wikiquote website, available compressed at: http://download.wikimedia.org/wikiquote/sv/pages_current.xml.bz2 With that document, I get 1722 successful UTF8Toisolat1() calls and 65 calls that return -2. Thanks in advance. Best regards, Aron Stansvik convtest.c Description: Binary data

[xml] Small documentation fix

2005-12-06 Thread Aron Stansvik
Attached is a small documentation fix for xmlreader.c. I hope I'm right here, but I think I am. Best regards, Aron Stansvik xmlreader.c.diff Description: Binary data ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http

Re: [xml] libXML2

2005-09-16 Thread Aron Stansvik
2005/9/17, Deepak Venkataraman [EMAIL PROTECTED]: I am using libXML2 (2.6.x) and have a few questions: It's always best to mention exactly what version you are using, since even minor releases can differ quite a lot. - LIBXML_TEST_VERSION: can this exit the application or does it simply print

Re: [xml] xmlTextWriterWriteFormatElement problem

2005-09-14 Thread Aron Stansvik
2005/9/14, James Eggleston [EMAIL PROTECTED]: Hello, I've found a problem in our use of libxml2's streaming API. The call xmlTextWriterWriteFormatElement crashes when writing strings longer than 8191 bytes. It only happens on our dual - EM64T SuSE Enterprise 9.0 server... it seems fine

Re: [xml] simple questions

2005-09-09 Thread Aron Stansvik
2005/9/9, Andre Street [EMAIL PROTECTED]: Ah, the continuing story of a beginner (2 months ago), self-taught C++ coder... ... Maybe you should try out the C++ bindings to libxml2 available at http://libxmlplusplus.sourceforge.net ? Installing on Ubuntu would be: sudo apt-get install

Re: [xml] About software patents in Europe and consequences

2005-07-03 Thread Aron Stansvik
. Best regard, Aron Stansvik ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] streaming XML Schema

2005-06-09 Thread Aron Stansvik
On 6/9/05, Kasimier Buchcik [EMAIL PROTECTED] wrote: Hi, the XML Schema processor has been changed to be able to work in streaming mode. No public API has been added yet to use it on streams - but should be available soon. We intend to support SAX2- and XMLReader-driven validation. The

[xml] patch for nanohttp.c that fixes libxslt bug #172525

2005-04-12 Thread Aron Stansvik
Hello. Attached is a small patch that fixes the problem where nanohttp does not include the GET query string in the HTTP request. Please check it carefully, because I don't trust myself. It works for me (TM). If it's OK, please apply and confirm/close the bug in bugzilla. Best regards, Aron

Re: [xml] Windows Binaries And The Web

2005-03-23 Thread Aron Stansvik
What FTP software are you running? Shouldn't most FTP servers (on most platforms?) support something like symlinks or equivalent? Could a symlink or equivalent solution for FTP, and a redirect solution for HTTP be an alternative? Hm, tricky buissness you have :) Aron On Wed, 23 Mar 2005 19:48:07

Re: [xml] libxml2 newbie question about the Reader API

2005-02-18 Thread Aron Stansvik
On Fri, 18 Feb 2005 04:53:42 -0500, Daniel Veillard [EMAIL PROTECTED] wrote: On Fri, Feb 18, 2005 at 12:04:43AM +0100, Aron Stansvik wrote: Hi Daniel. Thanks for your fast answer! Ah, I somehow missed that first link, thanks. The color scheme and layout of xmlsoft.org isn't really top-notch