From: Christophe de V. <cde...@al...> - 2003-05-16 09:01:08
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Vendredi 16 Mai 2003 10:06, Christophe de VIENNE a =E9crit : > I want to do a few tests and reproduce the case with pure libxml2. Playing a bit with xmlKeepBlanksDefault(), xmlSaveFile and xmlSaveFormatFil= e=20 it appeared that my previous observations were partly wrong. xmlKeepBlanksDefault(0) is _not_ the default, and not what we want as a=20 default : it drops and add whitespaces. But I think this option should be=20 accessible to the user in a way or another. So I'm thinking again of adding a per-parser and per-document option, as we= ll=20 as a global one, to keep or not blanks. On the other hand I don't know how this will behave in a multi-threaded=20 environnement. So only let the global parameter would be safer. I'll try=20 making tests about this. Anyway we need to remove the calls to xmlKeepBlanksDefault() we actually do. Cheers Christophe =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+xKmXB+sU3TyOQjARArMPAKDNfS1jBvkZQkogRIx/f+k5dTHyEgCfXI3o necwR7YrLb1Qe3Zwxb9e7qU=3D =3DA+2j =2D----END PGP SIGNATURE----- |