Re: dxml 0.1.0 released

2018-02-11 Thread Cym13 via Digitalmars-d-announce
On Friday, 9 February 2018 at 21:15:33 UTC, Jonathan M Davis wrote: [...] Of note, dxml does not support the DTD section beyond what is required to parse past it [...] - Jonathan M Davis Fun fact, since the most common security vulnerability associated with XML (XEE [1]) is based on

Re: dxml 0.1.0 released

2018-02-11 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-10 19:57, Jonathan M Davis wrote: Kind of. I did some benchmarking to see if some code changes would improve performance, but I haven't tried benchmarking it against any other XML libraries. Ok, I see. That would take a fair bit of time and effort, and IMHO, that would be better

Re: dxml 0.1.0 released

2018-02-11 Thread Russel Winder via Digitalmars-d-announce
On Sun, 2018-02-11 at 03:34 -0700, Jonathan M Davis via Digitalmars-d- announce wrote: > […] > Given how strings work in D, parsing is something that we should > easily be > able to do faster than other languages - or at least, other languages > typically have to write much less idiomatic code

Re: dxml 0.1.0 released

2018-02-11 Thread Jonathan M Davis via Digitalmars-d-announce
On Sunday, February 11, 2018 10:11:05 Russel Winder via Digitalmars-d- announce wrote: > On Fri, 2018-02-09 at 13:47 -0800, H. S. Teoh via Digitalmars-d- > > announce wrote: > > On Fri, Feb 09, 2018 at 02:15:33PM -0700, Jonathan M Davis via > > > > Digitalmars-d-announce wrote: > > > I have

Re: dxml 0.1.0 released

2018-02-11 Thread Russel Winder via Digitalmars-d-announce
On Fri, 2018-02-09 at 13:47 -0800, H. S. Teoh via Digitalmars-d- announce wrote: > On Fri, Feb 09, 2018 at 02:15:33PM -0700, Jonathan M Davis via > Digitalmars-d-announce wrote: > > I have multiple projects that need an XML parser, and > > std_experimental_xml is clearly going nowhere, with the

Re: dxml 0.1.0 released

2018-02-10 Thread Jonathan M Davis via Digitalmars-d-announce
On Saturday, February 10, 2018 21:10:28 Joakim via Digitalmars-d-announce wrote: > On Saturday, 10 February 2018 at 18:57:53 UTC, Jonathan M Davis > > wrote: > > On Saturday, February 10, 2018 16:14:41 Jacob Carlborg via > > > > Digitalmars-d- announce wrote: > >> On 2018-02-09 22:15, Jonathan M

Re: dxml 0.1.0 released

2018-02-10 Thread Joakim via Digitalmars-d-announce
On Saturday, 10 February 2018 at 18:57:53 UTC, Jonathan M Davis wrote: On Saturday, February 10, 2018 16:14:41 Jacob Carlborg via Digitalmars-d- announce wrote: On 2018-02-09 22:15, Jonathan M Davis wrote: > [...] This is great news! Have you run any benchmarks to see how it performs? Kind

Re: dxml 0.1.0 released

2018-02-10 Thread Jonathan M Davis via Digitalmars-d-announce
On Saturday, February 10, 2018 19:53:48 Jesse Phillips via Digitalmars-d- announce wrote: > On Friday, 9 February 2018 at 21:15:33 UTC, Jonathan M Davis > > wrote: > > Hopefully, the documentation is clear enough, but obviously, > > I'm not the best judge of that. So, have at it. > > > >

Re: dxml 0.1.0 released

2018-02-10 Thread Jesse Phillips via Digitalmars-d-announce
On Friday, 9 February 2018 at 21:15:33 UTC, Jonathan M Davis wrote: Hopefully, the documentation is clear enough, but obviously, I'm not the best judge of that. So, have at it. Documentation: http://jmdavisprog.com/docs/dxml/0.1.0/ Github: https://github.com/jmdavis/dxml Dub:

Re: dxml 0.1.0 released

2018-02-10 Thread Jonathan M Davis via Digitalmars-d-announce
On Saturday, February 10, 2018 10:27:42 Stefan via Digitalmars-d-announce wrote: > great work, Jonathan. Thank you. > We were missing xml for a long time and did so many hacks just to > get xml somehow parsed. LOL. Actually, one of the helper functions in std.datetime.timezone that has to deal

Re: dxml 0.1.0 released

2018-02-10 Thread Jonathan M Davis via Digitalmars-d-announce
On Saturday, February 10, 2018 12:04:48 Seb via Digitalmars-d-announce wrote: > On Friday, 9 February 2018 at 21:15:33 UTC, Jonathan M Davis > > wrote: > > I have multiple projects that need an XML parser, and > > std_experimental_xml is clearly going nowhere, with the guy who > > wrote it having

Re: dxml 0.1.0 released

2018-02-10 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-02-09 22:15, Jonathan M Davis wrote: Currently, dxml contains only a range-based StAX / pull parser and related helper functions, but the plan is to add a DOM parser as well as two writers - one which is the writer equivalent of a StaX parser, and one which is DOM-based. However, in

Re: dxml 0.1.0 released

2018-02-10 Thread Seb via Digitalmars-d-announce
On Friday, 9 February 2018 at 21:15:33 UTC, Jonathan M Davis wrote: I have multiple projects that need an XML parser, and std_experimental_xml is clearly going nowhere, with the guy who wrote it having disappeared into the ether, so I decided to break down and write one. I've kind of wanted to

Re: dxml 0.1.0 released

2018-02-10 Thread Stefan via Digitalmars-d-announce
great work, Jonathan. Thank you. We were missing xml for a long time and did so many hacks just to get xml somehow parsed.

Re: dxml 0.1.0 released

2018-02-09 Thread Jonathan M Davis via Digitalmars-d-announce
On Friday, February 09, 2018 13:47:52 H. S. Teoh via Digitalmars-d-announce wrote: > As for DTDs, perhaps it might be enough to make normalize() configurable > with some way to specify additional entities that may be defined in the > DTD? Once that's possible, I'd say it's Good Enough(tm), since

Re: dxml 0.1.0 released

2018-02-09 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Feb 09, 2018 at 02:15:33PM -0700, Jonathan M Davis via Digitalmars-d-announce wrote: > I have multiple projects that need an XML parser, and > std_experimental_xml is clearly going nowhere, with the guy who wrote > it having disappeared into the ether, so I decided to break down and >

dxml 0.1.0 released

2018-02-09 Thread Jonathan M Davis via Digitalmars-d-announce
I have multiple projects that need an XML parser, and std_experimental_xml is clearly going nowhere, with the guy who wrote it having disappeared into the ether, so I decided to break down and write one. I've kind of wanted to for years, but I didn't want to spend the time on it. However, sometime