The Ampersand returns a blank page on searches
Searching on the KNB brings up a blank page when using the Ampersand (&) symbol. A search on a title such as,"Species & functional diversity"will bring up empty page.
#2 Updated by ben leinfelder almost 7 years ago
- Target version changed from Unspecified to 2.1.0
I do get a blank page on the KNB (v2.0.3) and can see this message in the log:
SystemId Unknown; Line #9; Column #1258; The entity name must immediately follow the '&' in the entity reference.
But locally (v2.0.6) I get search results even though there is an error in the log:
knb 20130409-17:00:59: [ERROR]: QuerySpecification() - SAX error parsing data: The entity name must immediately follow the '&' in the entity reference. [edu.ucsb.nceas.metacat.QuerySpecification]
Bottom line seems to be we need to fix the pathquery that gets generated (by skins) so that it is valid XML.
#3 Updated by ben leinfelder almost 7 years ago
- Assignee changed from Jing Tao to ben leinfelder
- Status changed from New to Closed
This is in trunk now, though it is not applicable for solr queries. (I'm sure there are other character escaping issues to deal with as we work more with that query engine)