wikipathways / wikipathways.org

The main web site for the WikiPathways project.
http://wikipathways.org
GNU General Public License v2.0
9 stars 8 forks source link

Webservice function getPathwayHistory #77

Open mkutmon opened 5 years ago

mkutmon commented 5 years ago

If people leave comments with special characters (see https://www.wikipathways.org/index.php/Pathway:WP229 (revision 96002 / 96003) - the webservice function getPathwayHistory throws an SAXParserException in the Java library related to the encoding issue. Even with setting Java to UTF-8, this is not solved. Any ideas why this happens?

mkutmon commented 5 years ago

Looks like the only human pathway that has this issue.

Chris-Evelo commented 5 years ago

I think this problem is almost as old as WikiPathways itself. We have encoding issues because of some inconsistent solutions. I (vaguely) remember Thomas en Martijn realizing that that was in part caused by work-arounds that were introduced before they decided to work with proper encodings. But not having time for a proper clean-up. Possibly that was really never solved and we should finally do that clean-up?