defining new lire.types (was: Re: PROPOSAL: schema for proxy superservice)

Francis J. Lacoste francis.lacoste at Contre.COM
Thu Jan 17 20:05:14 CET 2002


On Thu, Jan 17, 2002 at 01:39:50PM +0100, Joost van Baal wrote:
> On Wed, Jan 09, 2002 at 04:58:24PM -0500, Francis J. Lacoste wrote:
> > 
> > cache_result - Result code for the cache TCP_MISS, TCP_HIT, etc.
> > 	       List is available on Squid page.
> 
> New lire.type ?  Wouldn't a new type in dtd/lire-types.mod be useful too
> for:

I'm not sure it is that useful. This would be interesting if we did
type-checking on the DLF content or if the fact that a different type
(http_result_code, cache_result_code) would be treated differently than
a string, int or time. Operators like group, min, max, timegroup, etc.
do make different interpretation of those types (int, string, hostname). 

But I don't think it is really useful to define new types for those
cases.

-- 
Francis J. Lacoste
francis at Contre.COM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/development/attachments/20020117/51bf8673/attachment.bin 


More information about the Development mailing list