Jump to page: 1 2
Thread overview
Best XML Library
May 23, 2013
Meta
May 24, 2013
Timothee Cour
May 24, 2013
deadalnix
May 24, 2013
Dicebot
May 24, 2013
Jacob Carlborg
May 24, 2013
David
May 24, 2013
ponce
May 24, 2013
Andrea Fontana
May 24, 2013
Adam D. Ruppe
May 28, 2013
Adam D. Ruppe
May 24, 2013
Idan Arye
May 25, 2013
Meta
Jun 13, 2013
michaelc37
Jun 14, 2013
qznc
Jun 14, 2013
Jacob Carlborg
May 23, 2013
I'm thinking of starting on a small XMPP-based messaging client and server, which would necessitate quite an extensive use of XML. Since Tango is no longer being maintained, and Vibe.d doesn't support XML (as far as I know), what would be the best option for XML capabilities?
May 24, 2013
what about std.xml for starters ?
it is criticized and in need of overhaul though.

I've used http://vipbase.net/xmlparser/ and I liked it; here's the description:

XmlParser is a lightweight open source C++ library based on Apache's Xerces C++ Parser <http://xml.apache.org/xerces-c/>. XmlParser contains only two files (one .cpp and one .h) and provides simple API for parsing XML files. XmlParser supports charsets such as GB2312.

it's only 2 files and should be easy to port to D.


On Thu, May 23, 2013 at 3:22 PM, Meta <jared771@gmail.com> wrote:

> I'm thinking of starting on a small XMPP-based messaging client and server, which would necessitate quite an extensive use of XML. Since Tango is no longer being maintained, and Vibe.d doesn't support XML (as far as I know), what would be the best option for XML capabilities?
>


May 24, 2013
On Thursday, 23 May 2013 at 22:22:26 UTC, Meta wrote:
> I'm thinking of starting on a small XMPP-based messaging client and server, which would necessitate quite an extensive use of XML. Since Tango is no longer being maintained, and Vibe.d doesn't support XML (as far as I know), what would be the best option for XML capabilities?

Tango.xml is know to be pretty good. std.xml isn't that great performance and API wize. I know vibe propose something, but I am unsure how good it is.
May 24, 2013
On 2013-05-24 00:22, Meta wrote:
> I'm thinking of starting on a small XMPP-based messaging client and
> server, which would necessitate quite an extensive use of XML. Since
> Tango is no longer being maintained, and Vibe.d doesn't support XML (as
> far as I know), what would be the best option for XML capabilities?

The XML package in Tango is the best. Still works even if it's not maintained. It won't compile with the latest beta of DMD but it does compile with the latest version, 2.062. I'll have dependencies on Tango so I'll probably maintained if no one else does it.

-- 
/Jacob Carlborg
May 24, 2013
On Friday, 24 May 2013 at 03:04:17 UTC, deadalnix wrote:
> On Thursday, 23 May 2013 at 22:22:26 UTC, Meta wrote:
>> I'm thinking of starting on a small XMPP-based messaging client and server, which would necessitate quite an extensive use of XML. Since Tango is no longer being maintained, and Vibe.d doesn't support XML (as far as I know), what would be the best option for XML capabilities?
>
> Tango.xml is know to be pretty good. std.xml isn't that great performance and API wize. I know vibe propose something, but I am unsure how good it is.

Vibe.d don't have XML module, only Json and Bson.
May 24, 2013
Am 24.05.2013 00:22, schrieb Meta:
> I'm thinking of starting on a small XMPP-based messaging client and server, which would necessitate quite an extensive use of XML. Since Tango is no longer being maintained, and Vibe.d doesn't support XML (as far as I know), what would be the best option for XML capabilities?

I recommend you to look at:

http://opticron.no-ip.org/svn/branches/kxml/
May 24, 2013
On Thursday, 23 May 2013 at 22:22:26 UTC, Meta wrote:
> I'm thinking of starting on a small XMPP-based messaging client and server, which would necessitate quite an extensive use of XML. Since Tango is no longer being maintained, and Vibe.d doesn't support XML (as far as I know), what would be the best option for XML capabilities?

You should give a try to dom.d by adam ruppe:

https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff

You just need dom.d and charactersencoding.d
May 24, 2013
On Friday, 24 May 2013 at 12:56:54 UTC, Andrea Fontana wrote:
> On Thursday, 23 May 2013 at 22:22:26 UTC, Meta wrote:
>> I'm thinking of starting on a small XMPP-based messaging

>
> You should give a try to dom.d by adam ruppe:


I don't think it would work best for xmpp though because dom.d needs the entire file before it can parse, and xmpp is a stream of data.
May 24, 2013
On Friday, 24 May 2013 at 11:07:02 UTC, David wrote:
> Am 24.05.2013 00:22, schrieb Meta:
>> I'm thinking of starting on a small XMPP-based messaging client and
>> server, which would necessitate quite an extensive use of XML. Since
>> Tango is no longer being maintained, and Vibe.d doesn't support XML (as
>> far as I know), what would be the best option for XML capabilities?
>
> I recommend you to look at:
>
> http://opticron.no-ip.org/svn/branches/kxml/

I concur. It works very well for my DOM parser needs.
Filtering on XPath makes it very easy to do anything.
May 24, 2013
On Thursday, 23 May 2013 at 22:22:26 UTC, Meta wrote:
> I'm thinking of starting on a small XMPP-based messaging client and server, which would necessitate quite an extensive use of XML. Since Tango is no longer being maintained, and Vibe.d doesn't support XML (as far as I know), what would be the best option for XML capabilities?

I suggest you check the XMLP library by Michael Rynn. I tried XML processing with D, so I don't know how good the different libraries are, but XMLP is on the review queue, which means it's highly possible it will become Phobos' standard XML library, and when that happens you will have an easy migration.
« First   ‹ Prev
1 2