According to Dan Langille:
> On 2 Aug 2001, at 15:28, Geoff Hutchison wrote:
> > At 4:15 PM -0400 8/2/01, Dan Langille wrote:
> > >But I did not create start.url.  Then I ran rundig:
> > >If I create start.url, rundig runs to completion
> > 
> > So? What this tells me is that if start.url doesn't exist, htdig 
> > doesn't run and so htmerge complains. It probably doesn't run because 
> > when the file doesn't exist, start_url is NULL, rather than empty.
> > 
> > I don't really see this as a bug, except perhaps the config parser 
> > should complain bitterly if you try to include a non-existent file.
> 
> Nor did I.  And yes, that complaint might help someone someday.

Running htdig with an empty start_url definition may be valid if all you
want to do is recheck the existing documents in the database.  It doesn't
make sense for htdig -i, though, so maybe a check could be added for this.
For other programs like htsearch, htnotify, even htmerge/htpurge, it wouldn't
make sense to complain about an empty start_url, as it's not even used.

In the more general case of warnings for non-existant files for any use
of left-quoted file names in attribute settings, the warning should probably
only show up in debugging mode.  Certainly for htsearch, you'd want it to
run as silently as possible by default.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to