[OSM-dev] Making libxml ignore errors
Nic Roets
nroets at gmail.com
Fri Mar 12 00:14:13 GMT 2010
On Fri, Mar 12, 2010 at 1:48 AM, Bernhard zwischenbrugger
<bz at datenkueche.com> wrote:
> hi
>>
>> Does anyone perhaps know how to get libxml to either not detect these
>> errors, or how to continue after parsing them ?
>>
> libxml is correct here.
> An XML parser MUST stop if there is an encoding error.
Just another reason why I should hate XML then.
Just another reason why I should implement my own Xml parser [1] [2]
Geonames.org has made things very easy for themselves by using CSV files.
1: http://trac.openstreetmap.org/browser/applications/rendering/gosmore/bboxSplit.cpp
2: http://trac.openstreetmap.org/browser/applications/rendering/gosmore/gosmore.cc?rev=4390
More information about the dev
mailing list