Re: [xml] xmlHashCreate and xmlHashAddEntry - hashs of unknown size?

2007-02-04 Thread Daniel Veillard
On Fri, Feb 02, 2007 at 09:54:51AM -0600, David Hagood wrote: Suppose I have a hash table who's size I do not know at compile time - it might end up with one entry or a thousand. What value should I pass to xmlHashCreate for the size? If I pass a value N, and at run time try to add N+1

Re: [xml] Possible bug in libxml2?

2007-02-04 Thread Danilo Segan
Hi Daniel, Јуче у 3:22, Daniel Leidert написа: I wanted to create a gettext portable object template (.pot) file from Norman Walsh's DocBook: The Definitive Guide. Therefor I used: xml2po -e -o book.pot book.xml in http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/defguide/en/ and

Re: [xml] Necessary steps involved in validating against an

2007-02-04 Thread Eric.Zurcher
Hi, Regaring Delphi programmer Erik Andersen's query about using an XSD when using libxml2, I offer the code below, based on testSchemas.c, as a simple example of how to accomplish this in a Delphi application (although it wasn't entirely clear from his original question whether Erik is