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

* 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 UTC