SOLR-514: Added explicit media-type with UTF* charset to *.xsl files that don't already have one

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@659196 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2008-05-22 18:38:06 +00:00
parent 7e6206497d
commit 858b4116d7
12 changed files with 36 additions and 4 deletions

View File

@ -407,6 +407,9 @@ Bug Fixes
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

View File

@ -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']"/>

View File

@ -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>

View File

@ -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>

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />