[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: Hunkel, Manfred <M.Hunkel_at_t-systems.com>
Date: 2004-12-09 12:35:26 CET

Dear Fellow-Versioners,

Do I miss the point, or does there seem to be a misconception about those basic repository browsing capabilities?

a) mod_dav_svn delivers an xml document with an associated xslt stylesheet.

b) It's up to the stylesheet (or you, as a matter of fact :)) ) to specify the appropriate incantations in its <xsl:output> tag.

The way we do this is, e.g.:

-----------------------------------------8<----------------------------------->8----------------
        <xsl:output method="html" encoding="ISO-8859-1"
                doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
                omit-xml-declaration="yes" />
-----------------------------------------8<----------------------------------->8----------------

Cheers,
-Manfred

| -----Original Message-----
| From: Max Bowsher [mailto:maxb@ukf.net]
| Sent: Thursday, December 09, 2004 12:10 PM
| To: Noah Slater; users@subversion.tigris.org
| Subject: Re: Subversion HTML pages are invalid.
|
| Noah Slater wrote:
| > Hello,
| >
| > When browsing a svn repos though a user-agent the HTML documents
| > served are NOT valid HTML and do not even include a DOCTYPE.
|
| Granted, they do not include a DOCTYPE, but the W3C validator says that a
| directory listing generated by mod_dav_svn 1.1.1 is valid HTML 4.01
| Transitional except for the missing DOCTYPE.
|
| So.... what's this invaldity you refer to?
|
| Max.
|
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
| For additional commands, e-mail: users-help@subversion.tigris.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 12:38:04 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.