[Catalyst-commits] r9189 - in Catalyst-View-TT-XHTML/1.000/trunk: . lib/Catalyst/View/ContentNegotiation

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Tue Feb 3 22:16:43 GMT 2009

Author: t0m
Date: 2009-02-03 22:16:43 +0000 (Tue, 03 Feb 2009)
New Revision: 9189

More doc tweaks, adjust .shipit in anticipation of rename.

Modified: Catalyst-View-TT-XHTML/1.000/trunk/.shipit
--- Catalyst-View-TT-XHTML/1.000/trunk/.shipit	2009-02-03 22:09:14 UTC (rev 9188)
+++ Catalyst-View-TT-XHTML/1.000/trunk/.shipit	2009-02-03 22:16:43 UTC (rev 9189)
@@ -1,7 +1,7 @@
 # auto-generated shipit config file.
 steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist
-svk.tagpattern =  //mirror/Catalyst-View-TT-XHTML/1.000/tags/%v
+svn.tagpattern = http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-View-ContentNegotiation-XHTML/1.000/tags/%v
 # svn.tagpattern = MyProj-%v
 # svn.tagpattern = http://code.example.com/svn/tags/MyProj-%v

Modified: Catalyst-View-TT-XHTML/1.000/trunk/lib/Catalyst/View/ContentNegotiation/XHTML.pm
--- Catalyst-View-TT-XHTML/1.000/trunk/lib/Catalyst/View/ContentNegotiation/XHTML.pm	2009-02-03 22:09:14 UTC (rev 9188)
+++ Catalyst-View-TT-XHTML/1.000/trunk/lib/Catalyst/View/ContentNegotiation/XHTML.pm	2009-02-03 22:16:43 UTC (rev 9189)
@@ -55,9 +55,9 @@
 =head1 NAME
-Catalyst::View::ContentNegotiation::XHTML - A Moose Role to apply to
-Catalyst views adjusts the response Content-Type header to 
-application/xhtml+xml content if the browser accepts it.
+Catalyst::View::ContentNegotiation::XHTML - Adjusts the 
+response Content-Type header to application/xhtml+xml 
+if the browser accepts it.
 =head1 SYNOPSIS
@@ -73,18 +73,24 @@
-This is a very simple Role which uses a method modifier to run after the
-C<process> method, and sets the response C<Content-Type> to be 
+This is a simple Role which sets the response C<Content-Type> to be 
 C<application/xhtml+xml> if the users browser sends an C<Accept> header 
 indicating that it is willing to process that MIME type.
-Changing the C<Content-Type> causes browsers to interpret the page as
-XML, meaning that the markup must be well formed.
+Changing the C<Content-Type> to C<application/xhtml+xml> causes 
+browsers to interpret the page as XML, meaning that your markup must 
+be well formed.
+=head1 CAVEATS
 This is useful when you're developing your application, as you know that
 all pages you view are parsed as XML, so any errors caused by your markup
 not being well-formed will show up at once.
+Whilst this module is has been tested against most popular browsers including
+Internet Explorer, it may cause unexpected results on browsers which do not
+properly support the C<application/xhtml+xml> MIME type.
 =head2 after process

More information about the Catalyst-commits mailing list