[fixed!] Re: after installing personal validator, cannot validate xhtml

On Jun 18, 2010, at 4:21 PM, john gale wrote:

> On Jun 18, 2010, at 1:42 PM, Ville Skyttä wrote:
> 
>> The weird line numbers suggest to me that they might be actually reports 
>> originating from errors accessing/parsing the DTDs, not the documents [0].  
>> Perhaps your validator sgml-lib isn't set up properly, or its catalog doesn't 
>> work for some reason and you receive an error when validator tries to access 
>> external entities online (you should be able to check if it does that using a 
>> network analyzer, for example Wireshark).
>> 
>> [0] http://www.w3.org/Bugs/Public/show_bug.cgi?id=9933
> 
> 
> Thanks for the pointer...  I'm still reading up more about this but I don't see any XHTML DTDs in my SGML lib folder.
> 
> This is a Mac OS X box with OpenSP 1.5.2 installed.  I flippantly tried downloading some XHTML DTDs at http://www.w3.org/TR/xhtml1/xhtml1.tgz and copying the DTDs themselves into the OpenSP-1.5.2, but that didn't work on first try.  I'll give it another shot over the weekend, but maybe this is indeed part of the problem...


I've since found that I apparently failed to RTFM a step in the manual where it mentioned to shove this sgml-lib folder into the htdocs of the validator.

Downloading the DTD tgz as linked above, shoving into it's place in validator/htdocs/sgml-lib, and then setting the /etc/w3c/validator.conf SGML lib as that path ($Base/htdocs/sgml-lib) now works like a charm.

Thanks all for the pointers, and hopefully let this email thread serve as a lesson to those following in my footsteps.

cheers,

	~ john

Received on Friday, 18 June 2010 23:53:48 UTC