W3C home > Mailing lists > Public > www-validator@w3.org > June 2010

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

From: john gale <john@smadness.com>
Date: Fri, 18 Jun 2010 16:53:15 -0700
Message-Id: <EDEF1C47-DB28-452A-A85B-C7AD5AC99100@smadness.com>
To: www-validator@w3.org

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 GMT

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