[erlang-questions] Rant: I hate parsing XML with Erlang

Ola Andersson A ola.a.andersson@REDACTED
Tue Oct 23 14:25:19 CEST 2007


I agree! Except for the "Erlang" part...
xmerl is extremely unpleasant to work with, but isn't the problem more
related to XML than the programming language?
I find it hopeless to translate the XML mess into an accessible data
format.
I long for the good old ASN.1 days when protocols were designed for
computers
instead of humans. Who needs to parse protocols without a computer?
/OLA. 

>-----Original Message-----
>From: erlang-questions-bounces@REDACTED 
>[mailto:erlang-questions-bounces@REDACTED] On Behalf Of Joel Reymont
>Sent: den 23 oktober 2007 12:52
>To: erlang-questions Questions
>Subject: [erlang-questions] Rant: I hate parsing XML with Erlang
>
>I only have so much horizontal real-estate on my screen and I totally  
>hate how xmlElement and xmlAttribute take so much of it. I also hate  
>how XML parsing code looks in Erlang.
>
>Am I the only one?
>
>I think Simon Peyton-Jones (Haskell) said that the syntax is the user  
>interface of a language. If so then Erlang has a user interface only  
>a mother could love, at least when it comes to parsing XML!
>
>	Joel
>
>--
>http://wagerlabs.com
>
>
>
>
>
>_______________________________________________
>erlang-questions mailing list
>erlang-questions@REDACTED
>http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list