query method handling e accute in collection name

Project:RUcore Shared Classes
Version:7.0
Component:Collection Hierarchy (coll_hierarchy)
Category:bug report
Priority:normal
Assigned:ananthan
Status:closed
Description

When the query method passes back the XML envelope if the collection name contains a é XML DOM errors occur. The problem does not seem to happen with the form method.

Comments

#1

Project:RUcore/NJDH/Partner Portal Search»
Version:5.2» 5.2
Component:API» Code
Status:active» test

Moving to the Collection Hierarchy class because the error was caused by the 'BuildIndexTreeXML' method in that class. This class is used by the Search API to build collection trees. No encoding was occurring, so I switch to encode in utf8 and applied htmlspecialchars() at the same time. Test is to create a collection with an accute accent such as é and see if the advanced search form and search results do not break.

#2

Project:» RUcore Shared Classes
Version:5.2» 7-x
Component:Code» Collection Hierarchy - Code

#3

Version:7-x» 7.0
Component:Collection Hierarchy - Code» Collection Hierarchy (coll_hierarchy)

#4

Assigned to:chadmills» ananthan

Test is outlined in comment #1.

#5

Status:test» closed

Closing old issue.

-Chad & Kalaivani

Back to top