How to deal with CDATA in xmerl?

Check out other blog posts related to Erlang: How to safely build Erlang with crypto without OpenSSL issues? Dark Corners of Erlang and Elixir Tracing How would you debug a highly concurrent system? The pain of fiddling with XML via xmerl Let’s agree that the official library - called xmerl is far from perfection, mostly because it does not contain sane defaults for DTD (like XML entities), has deficiencies when it comes to XSD validation, but from the other hand contains exciting stuff like the one documented by Brujo Benavides here.

Continue reading