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

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

From: Ed Martin <edman007x@mac.com>
Date: Sun, 1 Feb 2004 15:17:18 -0500
Cc: www-validator@w3.org
To: Terje Bless <link@pobox.com>
Message-Id: <A2617358-54F3-11D8-93CF-0003934DD798@mac.com>

the sgml-lib is set right
here is the validator.conf file (i changed the e-mail+homepage)
#
# Main Configuration File for the W3C MarkUp Validation Service.
#
# $Id: check.cfg,v 1.4 2002/10/27 15:36:19 ville Exp $
#
# Basic Key/Value pairs, separated by TABs.
# Blank lines and lines beginning with "#" are ignored.
#
# The file:// URLs aren't really URLs; it's just convenient shorthand.
#
# TODO:
#      * Document format in /docs instead of here.
#      * Ditch this format for a sane one; probably using 
Config::General.
#

DEBUG   1

#
# Email address of the maintainer of this service.
Maintainer      edman007x [at] mac [dot] com

#
# The "Home Page" for the service.
Home Page       http://mysite.com/

#
# Base URI To Error Explanations (doc/errors.html)
Msg FAQ URI     http://validator.w3.org/docs/errors.html

#
# Base URI for the Element Reference.
Element Ref URI         http://www.htmlhelp.com/reference/html40/

#
# The SGML Library Path.
SGML Library    /usr/local/validator/htdocs/sgml-lib/

#
# The SGML Parser to use.
SGML Parser     /usr/local/bin/onsgmls

#
# Mapping tables etc...
Element Map     file:///usr/local/validator/htdocs/config/eref.cfg
FPI to Text     file:///usr/local/validator/htdocs/config/fpis.cfg
Error to URI    file:///usr/local/validator/htdocs/config/frag.cfg
File Type       file:///usr/local/validator/htdocs/config/type.cfg
Doctypes        file:///usr/local/validator/htdocs/config/doctypes.cfg
Charsets        file:///usr/local/validator/htdocs/config/charset.cfg


#
# DanC territory...
Tips DB         file:///usr/local/validator/htdocs/config/tips.cfg


#
# The "templates" for headers, footers...
Header          /usr/local/validator/htdocs/header.html
Footer          /usr/local/validator/htdocs/footer.html


#
# Allowed Protocols
# - List of (comma separated) protocol schemes to allow.
Allowed Protocols       http,https
On Sunday, February 1, 2004, at 02:29  PM, Terje Bless wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 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
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP SDK 3.0.3
>
> iQA/AwUBQB1TlKPyPrIkdfXsEQJFUQCfZle3s6Zlc/UCcJMpkcP1gLPYA0kAoLR4
> oc2YVLqH2mIlevl1Rcze0NqJ
> =vgQA
> -----END PGP SIGNATURE-----
>
Received on Sunday, 1 February 2004 15:19:34 GMT

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