Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Librairie libxml2 trop verbeuse

1 réponse
Avatar
Delf
Bonjour.

Je ne trouve pas la méthode signalant à la librairie de ne pas être
verbeuse, exemple :

xmlDocPtr doc;
doc = xmlParseFile("heref.xml");

if (doc == NULL)
printf("error: could not parse file\n");

Résultat :

[12:44][delf@freaker src]# ./lanctld.out
I/O warning : failed to load external entity "heref.xml"
error: could not parse file file.xml
[12:44][delf@freaker src]#

Drôle de comportement pour une librairie...
Merci.

--
Delf
Do not use this email in Cc!
A quoi bon soulever des montagnes quand il est si simple de passer par
dessus ?

1 réponse

Avatar
Delf
Delf wrote:

Je ne trouve pas la méthode signalant à la librairie de ne pas être
verbeuse, exemple :


http://xmlsoft.org/html/libxml-xmlerror.html

--
Delf
Do not use this email in Cc!
On error '051128 19:08:36 mysqld ended', Scuzzo: and that 051128 has no
google, andre: that's the date...