You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ho...@apache.org on 2008/05/22 20:38:08 UTC

svn commit: r659196 - in /lucene/solr/trunk: ./ example/solr/conf/xslt/ src/webapp/web/admin/

Author: hossman
Date: Thu May 22 11:38:06 2008
New Revision: 659196

URL: http://svn.apache.org/viewvc?rev=659196&view=rev
Log:
SOLR-514: Added explicit media-type with UTF* charset to *.xsl files that don't already have one

Modified:
    lucene/solr/trunk/CHANGES.txt
    lucene/solr/trunk/example/solr/conf/xslt/example_atom.xsl
    lucene/solr/trunk/example/solr/conf/xslt/example_rss.xsl
    lucene/solr/trunk/example/solr/conf/xslt/luke.xsl
    lucene/solr/trunk/src/webapp/web/admin/analysis.xsl
    lucene/solr/trunk/src/webapp/web/admin/logging.xsl
    lucene/solr/trunk/src/webapp/web/admin/meta.xsl
    lucene/solr/trunk/src/webapp/web/admin/ping.xsl
    lucene/solr/trunk/src/webapp/web/admin/registry.xsl
    lucene/solr/trunk/src/webapp/web/admin/stats.xsl
    lucene/solr/trunk/src/webapp/web/admin/tabular.xsl
    lucene/solr/trunk/src/webapp/web/admin/threaddump.xsl

Modified: lucene/solr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/CHANGES.txt?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/CHANGES.txt (original)
+++ lucene/solr/trunk/CHANGES.txt Thu May 22 11:38:06 2008
@@ -407,6 +407,9 @@
 30. SOLR-539: Fix for non-atomic long counters and a cast fix to avoid divide
     by zero. (Sean Timm via Otis Gospodnetic)
 
+31. SOLR-514: Added explicit media-type with UTF* charset to *.xsl files that
+    don't already have one. (hossman) 
+    
 Other Changes
  1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
     build scripts to make two jars: apache-solr-1.3.jar and 

Modified: lucene/solr/trunk/example/solr/conf/xslt/example_atom.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/xslt/example_atom.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/example/solr/conf/xslt/example_atom.xsl (original)
+++ lucene/solr/trunk/example/solr/conf/xslt/example_atom.xsl Thu May 22 11:38:06 2008
@@ -24,7 +24,11 @@
 <xsl:stylesheet version='1.0'
     xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
 
-  <xsl:output method="xml" encoding="utf-8" />
+  <xsl:output
+       method="xml"
+       encoding="utf-8"
+       media-type="text/xml; charset=UTF-8"
+  />
 
   <xsl:template match='/'>
     <xsl:variable name="query" select="response/lst[@name='responseHeader']/lst[@name='params']/str[@name='q']"/>

Modified: lucene/solr/trunk/example/solr/conf/xslt/example_rss.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/xslt/example_rss.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/example/solr/conf/xslt/example_rss.xsl (original)
+++ lucene/solr/trunk/example/solr/conf/xslt/example_rss.xsl Thu May 22 11:38:06 2008
@@ -24,7 +24,11 @@
 <xsl:stylesheet version='1.0'
     xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
 
-  <xsl:output method="xml" encoding="utf-8" />
+  <xsl:output
+       method="xml"
+       encoding="utf-8"
+       media-type="text/xml; charset=UTF-8"
+  />
   <xsl:template match='/'>
     <rss version="2.0">
        <channel>

Modified: lucene/solr/trunk/example/solr/conf/xslt/luke.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/xslt/luke.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/example/solr/conf/xslt/luke.xsl (original)
+++ lucene/solr/trunk/example/solr/conf/xslt/luke.xsl Thu May 22 11:38:06 2008
@@ -22,8 +22,13 @@
  -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" version="1.0">
-    <xsl:output method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-        doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" encoding="UTF-8"/>
+    <xsl:output
+        method="xml"
+        encoding="UTF-8"
+        media-type="text/xml; charset=UTF-8"
+        doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+        doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
+    />
 
     <xsl:variable name="title">Solr Luke Request Handler Response</xsl:variable>
 

Modified: lucene/solr/trunk/src/webapp/web/admin/analysis.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/web/admin/analysis.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/web/admin/analysis.xsl (original)
+++ lucene/solr/trunk/src/webapp/web/admin/analysis.xsl Thu May 22 11:38:06 2008
@@ -25,6 +25,8 @@
   <xsl:output
     method="html"
     indent="yes"
+    encoding="utf-8"
+    media-type="text/html; charset=UTF-8"
     doctype-public="-//W3C//DTD HTML 4.01//EN"
     doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
 

Modified: lucene/solr/trunk/src/webapp/web/admin/logging.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/web/admin/logging.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/web/admin/logging.xsl (original)
+++ lucene/solr/trunk/src/webapp/web/admin/logging.xsl Thu May 22 11:38:06 2008
@@ -25,6 +25,8 @@
   <xsl:output
     method="html"
     indent="yes"
+    encoding="utf-8"
+    media-type="text/html; charset=UTF-8"
     doctype-public="-//W3C//DTD HTML 4.01//EN"
     doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
 

Modified: lucene/solr/trunk/src/webapp/web/admin/meta.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/web/admin/meta.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/web/admin/meta.xsl (original)
+++ lucene/solr/trunk/src/webapp/web/admin/meta.xsl Thu May 22 11:38:06 2008
@@ -20,6 +20,8 @@
 
   <xsl:output
     method="html"
+    encoding="utf-8"
+    media-type="text/html; charset=UTF-8"
     indent="yes"
     doctype-public="-//W3C//DTD HTML 4.01//EN"
     doctype-system="http://www.w3.org/TR/html4/strict.dtd" />

Modified: lucene/solr/trunk/src/webapp/web/admin/ping.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/web/admin/ping.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/web/admin/ping.xsl (original)
+++ lucene/solr/trunk/src/webapp/web/admin/ping.xsl Thu May 22 11:38:06 2008
@@ -25,6 +25,8 @@
   <xsl:output
     method="html"
     indent="yes"
+    encoding="utf-8"
+    media-type="text/html; charset=UTF-8"
     doctype-public="-//W3C//DTD HTML 4.01//EN"
     doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
 

Modified: lucene/solr/trunk/src/webapp/web/admin/registry.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/web/admin/registry.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/web/admin/registry.xsl (original)
+++ lucene/solr/trunk/src/webapp/web/admin/registry.xsl Thu May 22 11:38:06 2008
@@ -25,6 +25,8 @@
 
   <xsl:output
     method="html"
+    encoding="utf-8"
+    media-type="text/html; charset=UTF-8"
     indent="yes"
     doctype-public="-//W3C//DTD HTML 4.01//EN"
     doctype-system="http://www.w3.org/TR/html4/strict.dtd" />

Modified: lucene/solr/trunk/src/webapp/web/admin/stats.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/web/admin/stats.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/web/admin/stats.xsl (original)
+++ lucene/solr/trunk/src/webapp/web/admin/stats.xsl Thu May 22 11:38:06 2008
@@ -25,6 +25,8 @@
 
   <xsl:output
     method="html"
+    encoding="utf-8"
+    media-type="text/html; charset=UTF-8"
     indent="yes"
     doctype-public="-//W3C//DTD HTML 4.01//EN"
     doctype-system="http://www.w3.org/TR/html4/strict.dtd" />

Modified: lucene/solr/trunk/src/webapp/web/admin/tabular.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/web/admin/tabular.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/web/admin/tabular.xsl (original)
+++ lucene/solr/trunk/src/webapp/web/admin/tabular.xsl Thu May 22 11:38:06 2008
@@ -26,6 +26,8 @@
 
   <xsl:output
     method="html"
+    encoding="utf-8"
+    media-type="text/html; charset=UTF-8"
     indent="yes"
     doctype-public="-//W3C//DTD HTML 4.01//EN"
     doctype-system="http://www.w3.org/TR/html4/strict.dtd" />

Modified: lucene/solr/trunk/src/webapp/web/admin/threaddump.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/web/admin/threaddump.xsl?rev=659196&r1=659195&r2=659196&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/web/admin/threaddump.xsl (original)
+++ lucene/solr/trunk/src/webapp/web/admin/threaddump.xsl Thu May 22 11:38:06 2008
@@ -25,6 +25,8 @@
   <xsl:output
     method="html"
     indent="yes"
+    encoding="utf-8"
+    media-type="text/html; charset=UTF-8"
     doctype-public="-//W3C//DTD HTML 4.01//EN"
     doctype-system="http://www.w3.org/TR/html4/strict.dtd" />