Re: [libxml++] My proposed patches
- From: Christophe de VIENNE <cdevienne alphacent com>
- To: libxmlplusplus-general lists sourceforge net
- Subject: Re: [libxml++] My proposed patches
- Date: Fri, 06 Feb 2004 11:01:34 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Garrison wrote:
| On Thu, 2004-02-05 at 12:46, Christophe de VIENNE wrote:
|
|> | The first patch adds cobj() to Document.
|>
|> Is it a real need to have it ? I'd prefer not to introduce it.
|
|
| There is no need for it as long as the API is and always will be
| all-encompassing. In the same way, there is no need for
| Node::cobj() as far as I know. If Document::cobj() existed in 1.0,
| it would be easier to work around the lack of the
| create_root_node_by_import function.
|
| Really, I just consider it standard that the application programmer
| can access the underlying C object if necessary, and I question
| why it is allowed in Node but not Document. At the same time, I
| cannot speculate on how useful the Document::cobj() function will
| be in the future.
We had long threads about this subject some time ago. But you're right
the lib is not consistent by providing a cobj() on Node and not on
Document. Let's add it.
Cheers,
Christophe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAI2X7B+sU3TyOQjARAnvRAJ40mcMwwVv8lCH3csP+G2Lu32seMwCaA62L
TkbzQMmcg0MEJ4MRGvSFeFk=
=yX+S
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]