W3C home > Mailing lists > Public > www-validator@w3.org > April 2005

A Little Correction on Slackware 10.0

From: Adrian <adrian@bahana.net>
Date: Tue, 26 Apr 2005 15:11:29 +0700 (WIT)
Message-ID: <53441.202.58.71.88.1114503089.squirrel@mail.bahana.net>
To: "The W3C Validator Team" <www-validator@w3.org>

hi!

i've installed validator-0.6.7 on my server and when i'm testing it to
validate my site, it's doesnt't work!

so, i try to find out by editing /etc/w3c/validator.conf and set debug to
1 then i try again.

i look at the output command, it shows:
Command: onsgmls -n -c /usr/local/validator/htdocs/sgml-lib/xml.soc -R
-wvalid -wnon-sgml-char-ref -wno-duplicate -wxml -E0

i try to run it directly from terminal:

# onsgmls -n -c /usr/local/validator/htdocs/sgml-lib/xml.soc -R -wvalid
-wnon-sgml-char-ref -wno-duplicate -wxml -E0

the result is:

onsgmls:E: invalid option "n"
onsgmls:I: usage is "onsgmls [-vCegBdlprsu] [-b bctf] [-f error_file] [-c
catalog_sysid] [-D dir] [-a link_type] [-A arch] [-E max_errors] [-i
entity] [-w warning_type] [-m catalog_sysid] [-o output_option] [-t
rast_file] sysid..."

i try again with -n:

# onsgmls -c /usr/local/validator/htdocs/sgml-lib/xml.soc -R -wvalid
-wnon-sgml-char-ref -wno-duplicate -wxml -E0

and the result is:

onsgmls:E: invalid option "R"
onsgmls:I: usage is "onsgmls [-vCegBdlprsu] [-b bctf] [-f error_file] [-c
catalog_sysid] [-D dir] [-a link_type] [-A arch] [-E max_errors] [-i
entity] [-w warning_type] [-m catalog_sysid] [-o output_option] [-t
rast_file] sysid..."

run it again without -n and -R option:

onsgmls -c /usr/local/validator/htdocs/sgml-lib/xml.soc -wvalid
-wnon-sgml-char-ref -wno-duplicate -wxml -E0

it's works!

so, i edited check file:
change line 615 from:
 my @spopt = qw(
                 -R
                 -wvalid
                 -wnon-sgml-char-ref
                 -wno-duplicate
                );

to:
 my @spopt = qw(
                 -wvalid
                 -wnon-sgml-char-ref
                 -wno-duplicate
                );
line 663 from:
my @cmd = ($CFG->{'SGML Parser'}, '-n', '-c', $catalog, @spopt);

to:
my @cmd = ($CFG->{'SGML Parser'}, '-c', $catalog, @spopt);

and then i try again to validate my site at http://adrian.bahana.net, it
works now!

i don't know how to create a pacth file and i'm sorry about my english.

regards,
Adrian.
--------------------
fyi, my server info:
slackware 10.0
apache 2.0.53
perl 5.8.4
openjade 1.3.2

validator 0.6.7 website:
http://w3c.bahana.net

my personal website:
http://adrian.bahana.net
Received on Tuesday, 26 April 2005 16:42:37 UTC

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