From: Brian W. <bw...@st...> - 2002-09-09 01:15:43
|
Ok. I will volunteer to do this. I'll sketch up a mini-design and post it here. If I can take you up on you offer of creating an intial version of the xml file, that would be great. Regs Brian At 00:46 7/09/2002, Geoff Hutchison wrote: >On Fri, 6 Sep 2002, Brian White wrote: > > > I was looking at defaults.cc and I was wondering if > > it might be better managing the info as an XML file > > and then using that as a basis for generating > > defaults.cc and the HTML docs. > >Yes, this would actually be quite wonderful. Currently, it's hard to >"validate" changes you make to defaults.cc. It's also a minor pain to >insert and format HTML, since it has to be properly escaped. (No, it's not >a big deal, but XML would obviously be easier.) > > > Disadvantages > > * Part of the build process for exexcutabe would require > > perl to exist > >No, not really. We have lots of "autogenerated" files in 3.2. You'd only >need Perl if you modified defaults.xml and needed to generate the new >defaults.cc. > > > * After rabbiting on like this I now have to decide > > if I willing to put my money where my mouth is..... > >Yes, now that's the question. :-) > >Formatting defaults.cc into defaults.xml isn't hard and I'd be glad to do >that with some emacs macros. But I'd be glad to accept this change if you >(or someone) will write the defaults_generate.pl script. Ideally the >script would have some nice error-checking to tell you if you've left out >a field, etc. > >-- >-Geoff Hutchison >Williams Students Online >http://wso.williams.edu/ > > > >------------------------------------------------------- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >_______________________________________________ >htdig-dev mailing list >htd...@li... >https://lists.sourceforge.net/lists/listinfo/htdig-dev ------------------------- Brian White Step Two Designs Pty Ltd Knowledge Management Consultancy, SGML & XML Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: bw...@st... Content Management Requirements Toolkit 112 CMS requirements, ready to cut-and-paste |