[
https://issues.apache.org/jira/browse/SOLR-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000054#comment-13000054
]
Uwe Schindler edited comment on SOLR-2391 at 2/27/11 10:22 PM:
---------------------------------------------------------------
Here some fixes to the XSLs and Content-Types:
- Replaced text/xml by application/xml everywhere
- <xsl:output media-type=.... should never contain charset, this is put into
<xsl:output encoding=... - problem was XSLTRequestHandler ignoring this
property, which is fixed now
- ping.jsp is broken because it used deprecated and already removed methods -
removed.
- XMLRequestHandlers stylesheet parameter for browser-side XSL transform was
restricted to a not-working absolute /admin folder, that was hardcoded as
/admin. Removed that completely and made the XSL parameter totally unparsed. In
my opinion, this should be removed, client side XSL is a no-go. Also the
escaping was missing!
was (Author: thetaphi):
Here some fixes to the XSLs and Content-Types:
- <xsl:output media-type=.... should never contain charset, this is put into
<xsl:output encoding=... - problem was XSLTRequestHandler ignoring this
property, which is fixed now
- ping.jsp is broken because it used deprecated and already removed methods -
removed.
- XMLRequestHandlers stylesheet parameter for browser-side XSL transform was
restricted to a not-working absolute /admin folder, that was hardcoded as
/admin. Removed that completely and made the XSL parameter totally unparsed. In
my opinion, this should be removed, client side XSL is a no-go. Also the
escaping was missing!
> Replace remaining occurences of text/xml mime types to application/xml
> ----------------------------------------------------------------------
>
> Key: SOLR-2391
> URL: https://issues.apache.org/jira/browse/SOLR-2391
> Project: Solr
> Issue Type: Improvement
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Fix For: 3.1, 4.0
>
> Attachments: SOLR-2391.patch
>
>
> There are some more W3C "deprecated" mime types in Solr's ResponseWriters.
> Also the XSLTResponseWriter incorrectly parses media-type + encoding
> <xsl:output> properties (exaples are not 100% correct). 100% correct examples
> would set media-type to application/xml and encoding to UTF-8 in xsl:output.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]