Re: [xml] Read tree from FILE* ?

2007-04-23 Thread Trappel Martin
-Original Message- From: Daniel Veillard [mailto:[EMAIL PROTECTED] Sent: Sunday, April 22, 2007 9:56 PM To: Trappel Martin Cc: xml@gnome.org Subject: Re: [xml] Read tree from FILE* ? On Fri, Apr 20, 2007 at 11:32:18AM +0200, Trappel Martin wrote: Hello! I successfully can

Re: [xml] Parsing error: Extra content at the end of the document

2007-04-23 Thread Daniel Veillard
On Mon, Apr 23, 2007 at 12:41:31PM +0530, Agarwal, Saumya wrote: Hi, I get the following parsing error intermittently when doing the XML parsing through libxml2 - Extra content at the end of the document . The XML given to the parser appears to be fine (when opened with xml tools like

[xml] ReadWrite Files with unicode/UTF-16 names (on Windows) (was: RE: Read tree from FILE* ?)

2007-04-23 Thread Trappel Martin
I wrote: Any Windows users out there who'd share (some example code) how they get around the windows-filenames issue? Well, after looking at xmlReadIO(..) and also looking at xmlRegisterInputCallbacks(..) I've decided to skip all that and just use xmlReadMemory(..) and

Re: [xml] ReadWrite Files with unicode/UTF-16 names (on Windows) (was: RE: Read tree from FILE* ?)

2007-04-23 Thread Rob Richards
Trappel Martin wrote: Still, allow me to phrase two questions: * Is there an opposite to xmlReadIO, something like xmlWriteIO ? maybe xmlSaveToIO * Is anyone using the xmlRegisterInputCallbacks(..) to open files with wide character names? (It seems to me this would require some additional

Re: [xml] ReadWrite Files with unicode/UTF-16 names (on Windows) (was: RE: Read tree from FILE* ?)

2007-04-23 Thread Rob Richards
Trappel Martin wrote: -Original Message- From: Rob Richards [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 2:23 PM To: Trappel Martin Cc: xml@gnome.org Subject: Re: [xml] ReadWrite Files with unicode/UTF-16 names (on Windows) (was: RE: Read tree from FILE* ?) Trappel

[xml] xmlValidateOneElement - will fill-in defaults yes?

2007-04-23 Thread Rick Jones
Another chapter in my sputtering netperf4 development :) I want to enable the users of netperf4 to build-up a configuration from an interactive netperf4 session without having to go-out and run an external XML editor to create config files. To that end, I want to be adding elements to a