AW: [Acdk-developer] Apache Xalan-C++ & Xerces-C++ in Artefaktur
Brought to you by:
kommer
|
From: Roger R. K. <ko...@ar...> - 2005-06-22 15:12:09
|
Hi,
>>
I would like to ask why the XML in Artefaktur is not based on Apache
Xalan-C++ & Xerces-C++ ? These are most popular Java versions of XML
realizations and all Java programs which use XML very easy will be =
ported to
Artefaktur.
<<
ACDK includes two implementation for the org::xml:sax and org:w3c::dom
interfaces: expat with a lightweight non-validating parser
And libxml2 as validating parser including xpath support.
It is also possible to add more implementation for the org::xml:sax and
org:w3c::dom, like Xalan/Xerces.
There reason, why I preferred to use the Xerces/Xalan implementation:
- Code size and license will not allow to include the Xerces/Xalan
implementation in the acdk distribution.=20
The current acdk_xml should compile on all platform without any need =
to
download/compile/link external libraries.
- Xerces/Xalan is rather heavy-weight. It provides own String and =
Container
solution and it would be necessary
to copy these strings and container in memory from/to ACDK and
Xerces/Xalan String/Container versions.
- Xerces-C++ provides its own object C++ hierarchy. It is quite =
difficult to
wrap an existent object hierarchy
with another. Casting from a base object to a derived object (like =
Node to
Element) will be a quite difficult
thing. Wrapping an C++ object hierarchy on a (implicit) C hierarchy is =
in
the opposite quite easy.
I don't say it is impossible to use Xerces/Xalan as XML implementation =
and
wrap it with ACDK object model, but
it has several pitfalls.
Roger
-----Urspr=FCngliche Nachricht-----
Von: acd...@li...
[mailto:acd...@li...] Im Auftrag von =
Miroslav
Nachev
Gesendet: Mittwoch, 22. Juni 2005 11:23
An: acd...@li...
Betreff: [Acdk-developer] Apache Xalan-C++ & Xerces-C++ in Artefaktur
Hi,
=20
Best Regards,
Miroslav Nachev
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies =
from
IBM. Find simple to follow Roadmaps, straightforward articles, =
informative
Webcasts and more! Get everything you need to get up to speed, fast.
http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick
_______________________________________________
Acdk-developer mailing list
Acd...@li...
https://lists.sourceforge.net/lists/listinfo/acdk-developer
|