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

2007-04-24 Thread Daniel Veillard
On Mon, Apr 23, 2007 at 03:24:38PM -0700, Rick Jones wrote: 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

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

2007-04-24 Thread Rick Jones
So, if I add a node (eg test in netperf DTD entity names FWIW) and if I call xmlValidateOneElement() against that node, will all the defaults from the DTD get filled-in automagically? Hum, no. Validation will not change the document, if it was doing that I would get killed immediatly by

[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