On the subject of an XML parser

Chris Piker chris at hoopjump.com
Mon Aug 22 22:51:44 UTC 2022


On Monday, 22 August 2022 at 14:51:34 UTC, H. S. Teoh wrote:

> Why not use Jonathan's dxml?

I build a project off of dxml and found it to be quite nice, but 
I forgot to read the fine print (aka the template 
specialization).  After a week of development when everything was 
working well, I tried to use it for parsing stdin and that's when 
the compiler let me know than an InputRange wasn't sufficient.  
Totally my fault, no knock against the author.

So depending on the use case, dxml works quite well.  For my own 
purposes I'll need to find/create a ForwardRange adapter for 
stdin or refactor my code to use another library.



More information about the Digitalmars-d mailing list