lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Updated: (SOLR-2391) Replace remaining occurences of text/xml mime types to application/xml
Date Sun, 27 Feb 2011 22:21:38 GMT


Uwe Schindler updated SOLR-2391:

    Attachment: SOLR-2391.patch

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message