Closed (works as designed)
Project:
Search API Solr
Version:
7.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2012 at 09:09 UTC
Updated:
28 May 2012 at 19:51 UTC
There seems to be an Encoding error in the schema.xml file
When I go to /solr/admin/file/?file=schema.xml
I get the following error message. "error on line 155 at column 3: Encoding error"
This is due to a "-" placed inside a comment.
"Some filters are commented out because they are not language-independent – i.e"
becomes "Some filters are commented out because they are not language-independent i.e"
Removing this character fixes the problem.
A patch is included.
| Comment | File | Size | Author |
|---|---|---|---|
| search_api_solr_schema-encoding-error-1.patch | 666 bytes | BJ___ |
Comments
Comment #1
drunken monkeyThis is not an issue of the config file, but some problem in the interaction of Tomcat/Jetty and your browser. If the file is correctly served as UTF-8, there is no problem.
Also I'm pretty sure the server will work either way and only viewing the file is a problem? Than it's really nothing to worry about.