Jump to page: 1 2
Thread overview
rapidxml for D has been ported.
Oct 08
Dukc
Oct 08
bauss
Oct 12
NonNull
Oct 12
bauss
3 days ago
aberba
3 days ago
aberba
4 days ago
Dejan Lekic
4 days ago
drug
1 day ago
zoujiaqing
1 day ago
zoujiaqing
October 08
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
On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:
> [...]

So finally we have a working xml parser!
October 08
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
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
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
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
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
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.
4 days ago
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?
4 days ago
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