Re: [Libxmlplusplus-general] Multiple Node types
- From: Christophe de Vienne <cdevienne alphacent com>
- To: libxmlplusplus-general lists sourceforge net
- Subject: Re: [Libxmlplusplus-general] Multiple Node types
- Date: Mon, 9 Dec 2002 22:24:49 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Lundi 9 Décembre 2002 22:00, Murray Cumming wrote:
> On Mon, 2002-12-09 at 22:12, Christophe de Vienne wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Lundi 9 Décembre 2002 21:45, Murray Cumming wrote:
> > > I think that content() should do the reverse of set_content().
> > > set_content() works, but content() doesn't so it should be fixed. I can
> > > check that fix in if you like.
> >
> > Agree on the set_content() and get_content() behavior. Please commit your
> > fix. Moreover it get closer to the future behavior.
> >
> > Just one thing : what's happening is set_content/get_content are called
> > on a text node ?
>
> Hmm, set_content() would probably try to set the content of a child
> node. I'll change it so that set_content() does nothing for a
> name="text" node.
>
> get_content() would just return the content, as expected.
That's ok for me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE99QohB+sU3TyOQjARAk2rAJ9KiBDM8QDLhyToG9kQ0Sg584vidwCfa4AA
IP6Au8z4OTi3ayfGS42qlv0=
=Oz6V
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]