Jump to page: 1 24  
Page
Thread overview
The XML module in Phobos
Jul 28, 2009
llee
Jul 28, 2009
llee
Jul 28, 2009
Daniel Keep
Jul 28, 2009
bearophile
Jul 28, 2009
Michel Fortin
Jul 28, 2009
Ary Borenszweig
Jul 28, 2009
Adam D. Ruppe
Jul 28, 2009
Michel Fortin
Jul 28, 2009
language_fan
Jul 28, 2009
Ary Borenszweig
Jul 28, 2009
Michel Fortin
Jul 28, 2009
Lutger
Jul 28, 2009
Kagamin
Jul 30, 2009
Michael Rynn
Jul 30, 2009
Michael Rynn
Jul 31, 2009
Benji Smith
Jul 31, 2009
Daniel Keep
Jul 31, 2009
zsxxsz
Jul 31, 2009
Daniel Keep
Jul 31, 2009
Michel Fortin
Aug 01, 2009
Benji Smith
Aug 01, 2009
Michel Fortin
Aug 02, 2009
Benji Smith
Aug 04, 2009
Michael Rynn
Aug 04, 2009
Michel Fortin
July 28, 2009
The std.xml module contains several bugs that need to be fixed. The most important one is that the parser fails to parse empty elements (IE elements that use the <tag name="value" /> format). I'd like to report this bug to the modules' maintainer, but I don't know who to contact. (This is an old bug - it's been around for at least a year and I'm surprised that it has not been fixed).
July 28, 2009
llee Wrote:

> The std.xml module contains several bugs that need to be fixed. The most important one is that the parser fails to parse empty elements (IE elements that use the <tag name="value" /> format). I'd like to report this bug to the modules' maintainer, but I don't know who to contact. (This is an old bug - it's been around for at least a year and I'm surprised that it has not been fixed).

I should also point out that the std.xml module does not have support for namespaces.
July 28, 2009
llee wrote:
> The std.xml module contains several bugs that need to be fixed. The most important one is that the parser fails to parse empty elements (IE elements that use the <tag name="value" /> format). I'd like to report this bug to the modules' maintainer, but I don't know who to contact. (This is an old bug - it's been around for at least a year and I'm surprised that it has not been fixed).

According to Andrei, std.xml is in line for a complete rewrite.

http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93547

-Lars
July 28, 2009
Lars T. Kyllingstad wrote:
> llee wrote:
>> The std.xml module contains several bugs that need to be fixed. The most important one is that the parser fails to parse empty elements (IE elements that use the <tag name="value" /> format). I'd like to report this bug to the modules' maintainer, but I don't know who to contact. (This is an old bug - it's been around for at least a year and I'm surprised that it has not been fixed).
> 
> According to Andrei, std.xml is in line for a complete rewrite.
> 
> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93547 

Yes, I think that will be necessary. Any volunteers? :o)

Andrei
July 28, 2009

Andrei Alexandrescu wrote:
> Lars T. Kyllingstad wrote:
>> llee wrote:
>>> The std.xml module contains several bugs that need to be fixed. The most important one is that the parser fails to parse empty elements (IE elements that use the <tag name="value" /> format). I'd like to report this bug to the modules' maintainer, but I don't know who to contact. (This is an old bug - it's been around for at least a year and I'm surprised that it has not been fixed).
>>
>> According to Andrei, std.xml is in line for a complete rewrite.
>>
>> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93547
> 
> 
> 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.
July 28, 2009
Daniel Keep wrote:
> 
> Andrei Alexandrescu wrote:
>> Lars T. Kyllingstad wrote:
>>> llee wrote:
>>>> The std.xml module contains several bugs that need to be fixed. The
>>>> most important one is that the parser fails to parse empty elements
>>>> (IE elements that use the <tag name="value" /> format). I'd like to
>>>> report this bug to the modules' maintainer, but I don't know who to
>>>> contact. (This is an old bug - it's been around for at least a year
>>>> and I'm surprised that it has not been fixed).
>>> According to Andrei, std.xml is in line for a complete rewrite.
>>>
>>> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93547
>>
>> 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.

Andrei
July 28, 2009
Andrei Alexandrescu:
>Unfortunately I'm not seeing any.<

There's a simple solution, future D2 programmers will have both libs installed, so they will just use the Tango XML reader. So the best solution is to remove the XML reader from Phobos. The idea is to remove most inter-library redundancy. The sooner such problem is solved, the better it will be for D2.


>Besides, it would be great if phobos' xml would work with ranges.<

Translated, it becomes:
"Besides, it would be great if tangos' xml would work with ranges.". I guess Tango2 will use ranges.

Bye,
bearophile
July 28, 2009
On 2009-07-28 10:09:04 -0400, Andrei Alexandrescu <SeeWebsiteForEmail@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.

-- 
Michel Fortin
michel.fortin@michelf.com
http://michelf.com/

July 28, 2009
Michel Fortin wrote:
> On 2009-07-28 10:09:04 -0400, Andrei Alexandrescu <SeeWebsiteForEmail@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? :(
July 28, 2009
On Tue, Jul 28, 2009 at 12:23:50PM -0300, Ary Borenszweig wrote:
> But *why* use or make another one when the Tango one is already excellent? :(

Copyright.

-- 
Adam D. Ruppe
http://arsdnet.net
« First   ‹ Prev
1 2 3 4