Re: valid AddCacheInfo for both XHTML and HTML
amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] (Andrew M. Bishop) 09 Feb 2007 17:46:42 +0000
| Newsgroups | gmane.network.wwwoffle.user |
|---|---|
| Message-ID | <[email protected]> |
Dan Jacobson <[email protected]> writes: > The average Wikipedia page triggers > element "STYLE" undefined > in validator programs due to AddCacheInfo. > > If "STYLE" was made "style" then at we still get > document type does not allow element "style" here > > Then of course there's also > end tag for "hr" omitted, but OMITTAG NO > > Ah, maybe there ought to be different AddCacheInfos for different > doctypes. AddCacheInfo.html, AddCacheInfo.xhtml. There would need to be different included files for different types of HTML if validation is to work correctly. Unfortunately for you this is not going to happen, I have chosen a file that mostly works. If you really want to validate pages then you should not use the version that WWWOFFLE has modified, but use 'wwwoffle -o URL' to get a clean copy from the cache with no modifications. -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.9/user.html