W3C home > Mailing lists > Public > www-validator@w3.org > October 2002

Re: Beta: config file references

From: Terje Bless <link@pobox.com>
Date: Sat, 26 Oct 2002 20:18:49 +0200
To: W3C Validator <www-validator@w3.org>
cc: Bjoern Hoehrmann <derhoermi@gmx.net>
Message-ID: <a01060005-1021-601EC2A1E90F11D6AC5400039300CF5C@[193.157.66.10]>

Bjoern Hoehrmann <derhoermi@gmx.net> wrote:

>In the config file there are references to other config files like
>
>Element Map  file:///usr/local/validator/htdocs/config/eref.cfg [...]
>
>Those lines get parsed like
>
>if    ($v =~ s(^file://){}) {$cfg{$k} = &read_cfg($v)  } ...
>
>plain wrong. The URI module should be used to parse the URIs and the
>path() method used to get the path, otherwise you run into problems with
>Win32 file URI references like
>
>file:///c:/winapp/validator/htdocs/config/eref.cfg

Ok. I've logged this as Bug #42 but it's unlikely to get fixed for this
version. We're planning to implement a new configuration file regime for
the next version so this will most likely have to wait until then.

Thanks for the feedback.

-- 
These are the same customers you are referring to whom Microsoft thought
would need MS Bob and the Talking Paperclip?   One thing is to give them
enough rope to hang themselves,  but a boobytrapped thermonuclear weapon
running on a rand(time) countdown... Is that really wise? - Me to MS rep.
Received on Saturday, 26 October 2002 14:18:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:04 GMT