[fdo-trac] #600: the capability document with ISO-8859-15 can't be
parsed by Xerecs library
FDO
trac_fdo at osgeo.org
Thu Dec 10 20:57:41 EST 2009
#600: the capability document with ISO-8859-15 can't be parsed by Xerecs library
-------------------------------------+--------------------------------------
Reporter: klain | Owner: Klain Qin
Type: defect | Status: new
Priority: major | Milestone: 3.5.0
Component: Thirdparty Components | Version: 3.4.0
Severity: 3 | Keywords:
External_id: |
-------------------------------------+--------------------------------------
When connecting to this WMS site:
http://mapserveur.application.equipement.gouv.fr/map/mapserv?map%3D%2Fopt%2Fdata%2Fcarto%2Fcartelie%2Fprod%2FDRE_Aquitaine%2FContournement_Autoroutier_de_Bordeaux_29_08_06.www.map,
an exception will be thrown: XML Document parse error at line 1 column 62:
An exception occurred! Type:TranscodingException, Message:Could not create
a converter for encoding: ISO-8859-15.
ISO-8859-15 is a newer standard which contains the Euro-Currency-Symbol.
It's currently not supported by the Xerces library used by FDO. That's why
an exception will be thrown from Xerces.
I googled on internet on this encoding and found someone had already
reported this issue to Appache Xerces community:
http://issues.apache.org/jira/browse/XERCESC-1167. That person also wrote
a transcoder for ISO-8859-15. Refer to the same page for the two files:
XML885915Transcoder.cpp and XML885915Transcoder.hpp.
I then integrated that transcoder into the Xerces source tree, rebuilt a
new version by myself and then tried the temporary build. It works fine.
The WMS server can be connected successfully. I also took a look at the
latest Appache Xerces Source Tree (3.0.1), it seems that this transcoder
hasn't been integrated. Not sure why it hasn't been integrated.
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/600>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list