|
Project Information
|
Boost MiniDOMPurposeMy aim is to provide C++ developers with a portable lightweight DOM implementation depending only on the STL and Boost libraries. A few months ago, I had to write such a thing from scratch for Windows Mobile and SymbianOS. A preliminary implementation hence exists (link here), but it heavily depends upon closed-source components that are owned by my employer. FeaturesThe old version supported asynchronous loading of XML document, automatic decoding of various charsets (utf-8, utf-16/ucs-2, ucs4, latin1, latin9, win1252 and plain ASCII), and XPath queries. For simplicity, and because the design of that old version sucked (really... if you don't believe me, get the source and read the DOMReader class!), the upcoming release will only support synchronous operations. I will re-introduce asynchronous loading once I add support for DOM events. LimitationsThe main limitation comes from a design decision, in order to keep a simple memory management and get all the benefits of automatic memory reclaiming without having to use/write/depend upon a garbage collector. As a result, you must store the Document object somewhere while you want to manipulate its nodes and only keeping a child Node won't suffice. Status
RoadmapSee the issue page. |