Re: [libxml++] keek blancs.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Mercredi 28 Mai 2003 15:51, Murray Cumming Comneon com a écrit :
[...]
> > 2. I think write_to_formated_xxx is meaningful enough,
>
> Sound OK, but I'd probably call it
> write_to_file_formatted()
> write_to_string_formatted().
> (just moving the xxx)
> because it's the writing that is formatted, not the file or string, and
> because I like prefixing stuff rather than suffixing.

You're right. I'll do it this way.

[...]
> I'm happy to let the application developers ignore their own white space. I
> don't want to encourage misuse and misunderstanding (and the resultant
> FAQ-questions on this list every week) by having a please_break_the_spec()
> method that's too easy to use and forget about.
>
> > (1. is easy
> > to avoid if we don't have content nodes : we can just filter
> > the element and
> > ignore the content node.).
>
> I'm fairly happy to have 2. but I'm against 1. I don't think other parsers
> have 1 apart from for backwards-compatibility and I think most of them wish
> they didn't. I could be wrong. I'm not the maintainer.
>

I anderstand well your point of view. I think I agree, although I'd like some 
more opinions before making a final decision.


Cheers,

Christophe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+1MPXB+sU3TyOQjARAo0hAJoDEVGT301TCtqnJx8KP3baZTZQtQCgwk7H
AORooEPOx7phHMYPIhSi8Wg=
=Z82v
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]