W3C home > Mailing lists > Public > www-validator@w3.org > September 2003

Re: CVS build: Fatal Error: cannot find "REC-xhtml1-20020801/xhtml1-strict.dtd"

From: Tama Pugsley <tama@cwa.co.nz>
Date: Wed, 17 Sep 2003 13:31:05 +1200
Message-ID: <3F67B959.6000302@cwa.co.nz>
To: www-validator@w3.org

Removing the '/' at the end of the SGML_Library path in the config file 
fixed this error.

>
> Hi,
>
> Hoping this is the right mailing list.
>
> I've been trying to install a local version of the validator so we can 
> validate pages on our internal network. I've almost got it going but 
> I'm having a problem where the sgml parser can't find the dtd's even 
> though it should be given the correct SGML_Library path.
>
> Fatal Error: cannot find "REC-xhtml1-20020801/xhtml1-strict.dtd"; tried
>
> By the looks of things it's reading the xml.soc file ok (as it gets 
> the path right). For some reason the sgml library files aren't being 
> found. Any ideas??
>
> I've edited check to remove some of the hardcoded paths.
> -----------------------------------------------------------------------
> 555,556c557,560
> < #my @cmd = ($CFG->{SGML_Parser}, '-c', $catalog, '-E0', @xmlflags);
> < my @cmd = ('/usr/bin/onsgmls', '-c', 
> '/usr/local/validator/htdocs/sgml-lib/xml.soc', '-E0', @xmlflags);
> ---
> > #my @cmd = ($CFG->{SGML_Parser}, '-c', '$catalog, '-E0', @xmlflags);
> > #my @cmd = ('/usr/bin/onsgmls', '-c', 
> '/usr/local/validator/htdocs/sgml-lib/xml.soc', '-E0', @xmlflags);
> > my @cmd = ($CFG->{SGML_Parser}, '-c', $CFG->{SGML_Library} . 
> 'xml.soc', '-E0', @xmlflags);
> >
> -----------------------------------------------------------------------
>
> Cheers,
>
> Tama
>
Received on Tuesday, 16 September 2003 21:27:57 GMT

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