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>


  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


Received on Saturday, 26 October 2002 05:49:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:35 UTC