Canonicalized XML version 2.0 — an Objective-C streaming implementation

Greetings all.

I was advised by Frederick Hirsch at the W3C eBooks workshop this week that Canonicalized XML v2.0 is languishing in a state of non-implementation right now. After clearing it all with my boss, I'd like to point you to an Objective-C implementation that I put together a few months back as part of an OO XML library which ultimately never saw the light of day (its ideas instead went into a C++11 library which will be announced quite soon).

The library is hosted on my Github account here: <https://github.com/AlanQuatermain/AQXML>

Please look to the README file for links to the Canonicalization implementation itself. Note that it handles published versions of the canonicalization algorithms through libxml's implementations, while v2.0 is implemented primarily using a streaming parser. There's a tree-based version in there, but I can't recall ever testing that. The streaming version is, however, fully tested using the test cases from both this revision and all prior revisions of the standards; all the relevant code is in the EPubXMLTests subfolder.

Mac users here can open the project with Xcode 4.6 and run the unit tests by pressing ⌘U; this will compile the project first.

My thanks to Frederick for advising that I could be of some use in this manner. I hope to join the WG soon under the auspices of Kobo's parent company, Rakuten, to provide assistance in a more direct manner in future.

Cheers,
-Jim
_________________________________________
Jim Dovey
Digital Content Format Evangelist | Kobo Inc.
jdovey@kobo.com<mailto:jdovey@kobo.com>
C: (416) 716-0413
135 Liberty St. | Suite 101 | Toronto, ON  | M6K 1A7

[cid:image001.png@01CD8762.BDA95B70]

Received on Friday, 15 February 2013 16:45:01 UTC