|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Request for Comments: DOM Interface header for C available
I have made a C header file for the W3C DOM interface:
http://www.sinica.edu.tw/~ricko/src/dom_interface.h
I would like to get comments from interested XML-DEVers before
I finalize it.
It is just a C struct with slots for all the function calls. It should
allow
multiple implementations of DOM to be available to the same program.
(It is accepted by Sun's cc & lint, GCC -pedantic, GCC -Wall,
GCC -wstrict, GCC -Wtraditional, & GCC -ansi.)
I think it makes DOM's relation to C fairly clear. There are several
loose ends:
* should error-handling be less implementation-dependent?
* how to handle namespaces?
* xml:lang, xml:space & xmlns:* are inherited attributes that
probably would be better handled using a searching call, e.g.
DOM_get_currently_applicable_attribute_value(Attr *name)
Rick Jelliffe
(as private individual )
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








