You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2011/02/27 22:02:37 UTC

[jira] Created: (SOLR-2391) Replace remaining occurences of text/xml mime types to application/xml

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


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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Resolved: (SOLR-2391) Replace remaining occurences of text/xml mime types to application/xml

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler resolved SOLR-2391.
---------------------------------

    Resolution: Fixed

Committed trunk revision: 1075190
Committed 3.x revision: 1075192

> 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, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (SOLR-2391) Replace remaining occurences of text/xml mime types to application/xml

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated SOLR-2391:
--------------------------------

    Attachment: SOLR-2391.patch

Updated patch. Will commit soon!

> 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, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (SOLR-2391) Replace remaining occurences of text/xml mime types to application/xml

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Issue Comment Edited: (SOLR-2391) Replace remaining occurences of text/xml mime types to application/xml

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org