[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion HTML pages are invalid.

From: Martin Tomes <lists_at_tomes.org>
Date: 2004-12-09 10:29:49 CET

Robert Hunter wrote:
> Noah Slater wrote:
>
>>When browsing a svn repos though a user-agent the HTML documents
>>served are NOT valid HTML and do not even include a DOCTYPE.

BIKESHED ALERT!

Here's my opinion anyway!

It is my belief that one should always specify a DOCTYPE for ones pages. I, like many other people
offend the purists sensibilities by serving xhtml 1.0 as text/html as currently it is the only
practical way to work towards the saner xhtml world. Yes, things will break when one can eventually
switch to the correct mime-type, but when will that be? Given that IE has such a large share of the
market and it takes many years for old versions to disappear then an application/xhtml mime type
will not be a realistic proposition for some time.

So to minimise pain:

   1. Use the correct doctype for the content. (Affects rendering)
   2. Validate the pages with the W3C validator.

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
The Subversion Wiki is at http://www.subversionary.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 9 10:33:31 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.