Jump to page: 1 2
Thread overview
rapidxml for D has been ported.
Oct 08, 2019
zoujiaqing
Oct 08, 2019
Andrea Fontana
Oct 08, 2019
Dukc
Oct 08, 2019
bauss
Oct 09, 2019
GreatSam4sure
Oct 12, 2019
NonNull
Oct 12, 2019
bauss
Oct 16, 2019
aberba
Oct 16, 2019
aberba
Oct 16, 2019
rikki cattermole
Oct 09, 2019
Shigeki Karita
Oct 15, 2019
Dejan Lekic
Oct 15, 2019
drug
Oct 18, 2019
zoujiaqing
Oct 18, 2019
zoujiaqing
October 08, 2019
RapidXml is an attempt to create the fastest XML parser possible, while retaining useability, portability and reasonable W3C compatibility. It is an in-situ parser written in modern C++, with parsing speed approaching that of strlen function executed on the same data. RapidXml has been around since 2006, and is being used by lots of people.


Ported rapidxml repo:
https://github.com/huntlabs/rapidxml


Example:
```D
import rapidxml;

import stdio;

void main()
{
    auto doc = new xml_document;

    string doc_text = "<single-element/>";

    doc.parse!(0)(doc_text);

    auto node = doc.first_node();

    writeln(node.m_name);

    doc.validate();
}
```

October 08, 2019
On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:
> [...]

So finally we have a working xml parser!
October 08, 2019
On Tuesday, 8 October 2019 at 09:52:40 UTC, Andrea Fontana wrote:
> On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:
>> [...]
>
> So finally we have a working xml parser!

Huh? What's wrong with dxml[1]?

(Of course it's always good to have alternatives, working or no).

1: http://code.dlang.org/packages/dxml
October 08, 2019
On Tuesday, 8 October 2019 at 09:52:40 UTC, Andrea Fontana wrote:
> On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:
>> [...]
>
> So finally we have a working xml parser!

https://github.com/DiamondMVC/Diamond/tree/master/xml

Since 9 months ago.
October 09, 2019
On Tuesday, 8 October 2019 at 17:15:30 UTC, bauss wrote:
> On Tuesday, 8 October 2019 at 09:52:40 UTC, Andrea Fontana wrote:
>> On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:
>>> [...]
>>
>> So finally we have a working xml parser!
>
> https://github.com/DiamondMVC/Diamond/tree/master/xml
>
> Since 9 months ago.

It will be nice to have a thorough tutorial on how to use it.


October 09, 2019
On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:
> RapidXml is an attempt to create the fastest XML parser possible, while retaining useability, portability and reasonable W3C compatibility. It is an in-situ parser written in modern C++, with parsing speed approaching that of strlen function executed on the same data. RapidXml has been around since 2006, and is being used by lots of people.
>
>
> Ported rapidxml repo:
> https://github.com/huntlabs/rapidxml
>
>
> Example:
> ```D
> import rapidxml;
>
> import stdio;
>
> void main()
> {
>     auto doc = new xml_document;
>
>     string doc_text = "<single-element/>";
>
>     doc.parse!(0)(doc_text);
>
>     auto node = doc.first_node();
>
>     writeln(node.m_name);
>
>     doc.validate();
> }
> ```

Great job! Now it is time to check who is the fastest.
October 12, 2019
On Tuesday, 8 October 2019 at 17:15:30 UTC, bauss wrote:
> On Tuesday, 8 October 2019 at 09:52:40 UTC, Andrea Fontana wrote:
>> On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:
>>> [...]
>>
>> So finally we have a working xml parser!
>
> https://github.com/DiamondMVC/Diamond/tree/master/xml
>
> Since 9 months ago.

https://diamondmvc.org/ --- certificate has expired
October 12, 2019
On Saturday, 12 October 2019 at 13:51:57 UTC, NonNull wrote:
> On Tuesday, 8 October 2019 at 17:15:30 UTC, bauss wrote:
>> On Tuesday, 8 October 2019 at 09:52:40 UTC, Andrea Fontana wrote:
>>> On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:
>>>> [...]
>>>
>>> So finally we have a working xml parser!
>>
>> https://github.com/DiamondMVC/Diamond/tree/master/xml
>>
>> Since 9 months ago.
>
> https://diamondmvc.org/ --- certificate has expired

Already aware of it and will fix it soon. Just haven't gotten around to it. http should work just fine.
October 15, 2019
On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:
> RapidXml is an attempt to create the fastest XML parser possible, while retaining useability, portability and reasonable W3C compatibility. It is an in-situ parser written in modern C++, with parsing speed approaching that of strlen function executed on the same data. RapidXml has been around since 2006, and is being used by lots of people.

So... you ported the RapidXml code, yet you do not mention this project anywhere, no credits to its authors, no information about the original license, etc? Am I summing this up correctly?
October 15, 2019
On 10/15/19 3:28 PM, Dejan Lekic wrote:
> On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:
>> RapidXml is an attempt to create the fastest XML parser possible, while retaining useability, portability and reasonable W3C compatibility. It is an in-situ parser written in modern C++, with parsing speed approaching that of strlen function executed on the same data. RapidXml has been around since 2006, and is being used by lots of people.
> 
> So... you ported the RapidXml code, yet you do not mention this project anywhere, no credits to its authors, no information about the original license, etc? Am I summing this up correctly?

In fact that's really disappointing
« First   ‹ Prev
1 2