You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cr...@apache.org on 2004/09/05 02:46:14 UTC

svn commit: rev 43355 - in cocoon/branches/BRANCH_2_1_X: . src/documentation/xdocs/userdocs/selectors

Author: crossley
Date: Sat Sep  4 17:46:13 2004
New Revision: 43355

Modified:
   cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/regular-expression-header-selector.xml
   cocoon/branches/BRANCH_2_1_X/status.xml
Log:
Attribution in "Changes" for regular-expression-header-selector.
Add some notes from the issue report to the doc.
Issue: 30321
Submitted by: Colin Adams


Modified: cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/regular-expression-header-selector.xml
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/regular-expression-header-selector.xml	(original)
+++ cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/regular-expression-header-selector.xml	Sat Sep  4 17:46:13 2004
@@ -23,7 +23,7 @@
 
 <document>
   <header>
-    <title>Regular-Ecpression-Header-Selector in Cocoon</title>
+    <title>Regular-Expression-Header-Selector in Cocoon</title>
     <version>0.1</version>
     <type>Technical document</type>
     <authors>
@@ -145,6 +145,15 @@
           any sitemap parameters. 
         </p>
       </s2>
+    </s1>
+    <s1 title="Notes">
+      <p>
+      The main motivation for this selector is to do some simple content
+      negotiation to serve XHTML 1.1 pages where the browser indicates it
+      accepts application/xhtml+xml, and HTML pages otherwise.
+      However, this has many more uses, including automatic i18n according
+      to the accept-language header.
+      </p>
     </s1>
     <s1 title="Bugs/Caveats">
       <p>

Modified: cocoon/branches/BRANCH_2_1_X/status.xml
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/status.xml	(original)
+++ cocoon/branches/BRANCH_2_1_X/status.xml	Sat Sep  4 17:46:13 2004
@@ -204,6 +204,12 @@
 
   <changes>
  <release version="@version@" date="@date@">
+   <action dev="DC" type="add" fixes-bug="30321" due-to="Colin Adams">
+     Selector for matching the request headers using a regular expression.
+     Simple content negotiation, e.g. serve XHTML if browser indicates it
+     accepts application/xhtml+xml and HTML otherwise; potentially do
+     automatic i18n according to the accept-language header.
+   </action>
    <action dev="CZ" type="add">
      Portal block: New Group Based Profile Manager.
    </action>