Re: [xml] xmlParseFile;encode - newbie question
- From: Pieter Louw <pieter uplink co za>
- To: veillard redhat com
- Cc: xml gnome org, Eric Haszlakiewicz <erh nimenees com>
- Subject: Re: [xml] xmlParseFile;encode - newbie question
- Date: Thu, 24 Feb 2005 16:52:59 +0200
Yes but you MUST fix the problem on input. Especially for this kind
of stupid, obvious brokeness. I'm horribly serious about this, and
there is no garantee I will keep that mode available except for a couple
of API calls purely dedicated to recovery in the future.
You are warned, I already stated the input must be fixed, and you
must not rely on libxml2 to work around XML well-formedness errors,
if I see this being abused I will just drop the support, I hope this
is cristal clear.
Daniel
Fair enough. I don't expect anyone to change anything or go against the
XML standard if you may.
I just wanted to know if there were already a function or something that
can "fix" the input if there were some error.
Now I know it doesn't exist and must find my own way to fix it.
The XML input gets generated from an external source, so I can do
nothing about how the XML are generated.
I receive it and must handle the XML UNwell-formedness myself.
I will make sure the XML I generate is well-formed.
Thanks for all the help/info
Pieter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]