On 2009-07-28 10:09:04 -0400, Andrei Alexandrescu
<[email protected]> said:
Yes, I think that will be necessary. Any volunteers? :o)
Andrei
There is already a high-performance one in Tango. There must be some
way to avoid duplicating effort.
Unfortunately I'm not seeing any. Besides, it would be great if phobos'
xml would work with ranges.
I started something which could be used as a replacement of std.xml.
Once it's a little more ready, I could contribute it to Phobos. It
includes two tokenizer APIs (a templated callback tokenizer and a range
tokenizer), and one DOM (not really based on the W3C DOM). The goal is
to support all of XML at the tokenizer level, but skipping the internal
subset of the doctype in the DOM.
Currently, the range API would be more useful if there was a way to
switch on the type of an Algebraic.
--
Michel Fortin
[email protected]
http://michelf.com/