[erlang-questions] Exception in xmerl, when pasing XML with non UTF8 character set
Matthew Dempsky
matthew@REDACTED
Thu Jan 10 00:23:54 CET 2008
On 1/7/08, Zvi <exta7@REDACTED> wrote:
> I asking here questions from Erlang domain, not the obvious & ugly common
> sence solutions, like reading the entire file into memory, changing the
> encoding string and only then feeding it into xmerl. (the problem only that
> this XML can be quite big, like 0.5 MB and more).
Half a megabyte isn't "quite large." Just read it into memory as a
binary and hack it up as necessary to substitute the character
encoding attribute.
Adding contrived code to xmerl to handle broken XML files is the
uglier solution.
More information about the erlang-questions
mailing list