C/C++ DOM implementation using expat

Jun Fujisawa fujisawa at the.canon.co.jp
Sat Sep 18 05:41:49 BST 1999


At 11:42 PM +0800 99.9.16, Rick Jelliffe wrote:
> If anyone is working on a C DOM implementation using expat,
> there is a C interface definition for DOM (.h) available at
>     http://www.ascc.net/~ricko/src/dom_interface.h
> which they might find convenient to use (contributions and suggestions
> welcome).

I find the C interface definition for DOM very interesting.

I don't have any idea on which level of conformance to CORBA mapping
rules might be important, here is my questions and comments.

- why DOM_Object is not defined as void*?
- how about defining DOM_Environment as follows:
    typedef struct DOM_Environment {
        CORBA_exception_type _major;
        DOM_Exception;
    } DOM_Environment;
- DOM_String could be simply defined as CORBA_wchar*.
- two underscores are not needed for mapping operations.

--
Jun Fujisawa
<mailto:fujisawa at the.canon.co.jp>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list