#146: Illegal character handling not robust
------------------------------------+---------------------------------------
Reporter: heikki | Owner: geonetwork-devel@lists.sourceforge.net
Type: defect | Status: new
Priority: minor | Milestone: v2.5.0
Component: General | Version: v2.4.1
Keywords: xslt character illegal |
------------------------------------+---------------------------------------
If your DB contains a character that is not allowed by the spec (I believe
it's the range decimal 127-159 inclusive), GeoNetwork's XSLT
transformation will choke on it, go to the error page and put out a
message such as:
SERE0014: Illegal HTML character: decimal 157
It would be better to handle this more gracefully. Maybe we can either
scan all chars coming out of the DB for illegal characters, and take them
out before further processing; or gain some performance by assuming it
almost never happens, catch this exception and then strip illegal
characters from it.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/146>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.