[erlang-bugs] Bug in xmerl
Fri Aug 8 17:12:35 CEST 2008
Thank you for reporting this! We'll investigate this as soon as possible,
but it seems like it's a bug since the following function use the same
to_char_set(UTF8,Ch) when UTF8 =:= "utf-8"; UTF8 =:= undefined ->
Niclas, the Erlang/OTP Team
On Fri, 8 Aug 2008, Frederic Minot wrote:
> I just had the same problem with UTF-8 xml file, with same solution, but I
> changed line 3991 too, from
> to_ucs(Encoding,Chars) when Encoding=='utf-8'; Encoding == undefined ->
> to_ucs(Encoding,Chars) when Encoding=="utf-8"; Encoding == undefined ->
> since Encoding is a list, not an atom.
> Don't know if it is really useful.
> Lars Thorsen wrote:
>> it was a bug in xmerl. The ending parenthesis in the call to
>> string_to_char_set/2 (line 2449 in xmerl_scan)was placed wrong.
>> This will be fixed in R12B-4 but I include some patch lines below.
> View this message in context: http://www.nabble.com/Bug-in-xmerl-tp18154837p18893464.html
> Sent from the Erlang Bugs mailing list archive at Nabble.com.
> erlang-bugs mailing list
More information about the erlang-bugs