in reply to Re: Config Files Redux
in thread Config Files Redux
I prefer XML with a DTD because it can help prevent size=blue or color=large type mistakes...
You've said this multiple times, but you've never explained how.
The how is the same way you would do it for any other type of file. Someone writes a comprehensive set of rules by which to validate the configuration file. The file format doesn't matter. The format of the rules doesn't matter. Something reads and processes the configuration file and the rules and applies the rules to the processed file.
You have to do this anyway to parse the configuration file in your application.
Now you may have better tools to do this with an XML application than with any other format, but then your real argument for using XML is better tools, not validation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Config Files Redux
by Fletch (Bishop) on Nov 24, 2006 at 06:25 UTC | |
|
Re^3: Config Files Redux
by traveler (Parson) on Nov 24, 2006 at 15:40 UTC | |
by chromatic (Archbishop) on Nov 26, 2006 at 07:04 UTC | |
by traveler (Parson) on Nov 26, 2006 at 15:55 UTC | |
by chromatic (Archbishop) on Nov 27, 2006 at 07:10 UTC |