Archive for December, 2005

Fixing rxml attribute escaping

Thursday, December 29th, 2005

The version of Builder used for rxml templates in Rails 1.0 doesn’t escape attribute values when they are written to the output. This means characters such as double quotes in the attribute values will cause invalid XML documents to be generated.

To avoid having to manually escape every attribute value in rxml templates, I’ve put together a plugin that fixes this issue. Download rails_fixes.zip and extract it to your vendor/plugins directory (to create a new rails_fixes directory). The plugin replaces the _insert_attributes method of Builder::XmlMarkup with one that escapes the values.

Rubicon Christmas Party

Tuesday, December 20th, 2005

Photos from the Rubicon Christmas Party last night are online.

The venue was Easthampstead Park in Bracknell (again). This year’s theme was Cirque Noel.