W3C home > Mailing lists > Public > www-validator@w3.org > February 2004

Re: Help installing the validator--all pages not valid but no errors

From: Terje Bless <link@pobox.com>
Date: Sun, 1 Feb 2004 20:29:25 +0100
To: Ed Martin <edman007x@mac.com>
Cc: www-validator@w3.org
Message-ID: <r02010100-1032-F283FFDF54EC11D893A50030657B83E8@[]>

Hash: SHA1

Ed Martin <edman007x@mac.com> wrote:

>and what do you mean "set the proper configuration options to ensure
>onsgmls searches in the right place" the validator conf file? that is
>set right as far as i know

The configuration setting in the validator.conf file named "SGML Library" must
be set to the «sgml-lib/» directory from the validator distribution. By
default it's in «validator/htdocs/sgml-lib/», but it must match even if you've
moved it elsewhere.

The «-R» switch to OpenSP (onsgmls) restricts file reading to only the
configured directories (to prevent a remote file disclosure vulnerability when
presented with specially crafted input). The path set for «SGML Library» is
used as the permitted directory to search.

IOW, if «SGML Library» is not set correctly, OpenSP will refuse to read any of
the supporting files (the DTD, the Catalog, entity definitions, the SGML
Declaration, etc.) reslting in non-sensical output like what you are seeing.

I haven't found any good way to detect this situation and report a meaningfull
error (then again, I haven't really given it much thought) so if anyone has
suggestions — or maybe even patches :-) — I'd be very happy to hear about it.

- -- 
 "Oh, my. What? Did I hurt your little, iddy, biddy feelings widdle MCSE
  kind of person?"                                       -- Tina Holmboe

Version: PGP SDK 3.0.3

Received on Sunday, 1 February 2004 14:29:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:38 UTC