You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2007/03/10 23:04:09 UTC
[jira] Created: (SOLR-190) Encoding declaration of POSTed XML
documents is ignored
Encoding declaration of POSTed XML documents is ignored
-------------------------------------------------------
Key: SOLR-190
URL: https://issues.apache.org/jira/browse/SOLR-190
Project: Solr
Issue Type: Bug
Components: update
Reporter: Bertrand Delacretaz
Priority: Minor
Currently, the post.sh script and the SimplePostTool use this header to define encoding:
Content-type:text/xml; charset=utf-8
And the XML encoding declaration of the POSTed document is ignored.
According to RFC 3023, the correct way would be to use "Content-type:application/xml" and use the XML document's encoding.
One this is fixed, the "please use UTF-8 encoding" warning is SimplePostTool can be removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.