[erlang-bugs] Bug when streaming input to xmerl_scan
Lars Thorsen
lars@REDACTED
Tue Aug 9 15:03:08 CEST 2011
Thanks Simon, your fix will be applied in R14B04.
Regards Lars
Erlang/OTP, Ericsson AB
On 07/27/2011 09:12 PM, Simon Cornish wrote:
> Consider the following trivial XML:
>
> <?xml version="1.0" ?>
> <item a="b">blah</item>
>
> If this is being fed to xmerl_scan:string via a continuation_fun and
> the current input runs out at the end of an attribute value (in this
> example, the 2nd " character on the item line) then it will crash.
> This is demonstrated in the small attached module.
> One possible fix that has been tested is also attached.
>
> Regards,
> Simon
>
>
>
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
More information about the erlang-bugs
mailing list