It seems there’s some considerable demand for a C-callable API which will
write XML safely and efficiently.
I sketched out an interface design which you may peruse
here; I think it’ll
be pretty self-evident to the C-literate.
It compiles and I wrote and tested the genxScanUTF8()
method, so
it’s not entirely vapor.
Upon consideration, I think it will be virtually no extra work to make it
emit Canonical XML, ready to be
signed, sealed and delivered (and Rich Salz said he would help) so why not?
Major thanks to Anthony J. Starks for the name—I am not a member of Gen X
myself, but I do share a city with
Coupland, so there you go.
Since ongoing doesn’t have comments, I’ll post a
pointer to this item over in
the xml-dev mailing list,
which is a natural place to discuss it.
It would be very surprising if this first-cut sketch didn’t contain some
stupid errors, so go get ’em.