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

Beta: config file references

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 26 Oct 2002 11:49:32 +0200
To: www-validator@w3.org
Message-ID: <3de56409.72859977@smtp.bjoern.hoehrmann.de>

Hi,

  In the config file there are references to other config files like

Element Map	file:///usr/local/validator/htdocs/config/eref.cfg
FPI to Text	file:///usr/local/validator/htdocs/config/fpis.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

regards.
Received on Saturday, 26 October 2002 05:49:21 GMT

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