[OSM-dev] Making libxml ignore errors
Bernhard zwischenbrugger
bz at datenkueche.com
Fri Mar 12 04:16:46 GMT 2010
Nic Roets schrieb:
> 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]
>
Do you want the wrong encoding in the map?
libxml found a bug - that's good.
UTF-8 and XML make sure that there are no encoding errors.
That's the big advantage over CSV, jSON,...
Bernhard
More information about the dev
mailing list