A comma was missing from the record definition. git fetch git://github.com/vladdu/otp.git xmerl_macro_fixes https://github.com/vladdu/otp/compare/xmerl_macro_fixes https://github.com/vladdu/otp/compare/xmerl_macro_fixes.patch best regards, Vlad