The XML module in Phobos

Ary Borenszweig ary at esperanto.org.ar
Tue Jul 28 08:23:50 PDT 2009


Michel Fortin wrote:
> On 2009-07-28 10:09:04 -0400, Andrei Alexandrescu 
> <SeeWebsiteForEmail at erdani.org> 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.

But *why* use or make another one when the Tango one is already 
excellent? :(



More information about the Digitalmars-d mailing list