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

Re: "Software error" is driving me crazy...

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 26 Nov 2004 12:34:18 +0100
To: "Donnie" <royalfamily@email.it>
Cc: <www-validator@w3.org>
Message-ID: <41a713a0.6260921@smtp.bjoern.hoehrmann.de>

* Donnie wrote:
>The validation command says:
>>>>>>>>>>>>>>>>>
>C:/Programmi/EasyPHP/opensp151/onsgmls.exe -n -c C:\Programmi\EasyPHP\www\validator\htdocs\sgml-lib\xml.soc -wvalid -wnon-sgml-char-ref -wno-duplicate -wxml -E0
>>>>>>>>>>>>>>>>>

Have you tried this from the command line? If you start a new command
line prompt and replace all the / with \ in the line above, you should
be able to use it e.g. via

  % ... onsgmls.exe ... < document.html > nul

If the document has errors, those should be printed on the screen.

>Sorry to bore you with my requests,but i really need to have the vaildator working.
>What else can i do?

Right, there is one last thing to do here, in the check script, look for

  sub parse_errors ($$) {
    my $File = shift;
    my $fh   = shift;

    $File->{Errors} = []; #  ...
    for (<$fh>) {

and add after the fragment above e.g.

    # remove SGML Parser path if it contains colons
    s/^\Q$CFG->{Paths}->{SGML}->{Parser}\E// if
         $CFG->{Paths}->{SGML}->{Parser} =~ /:/;
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 26 November 2004 11:34:46 GMT

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