It seems that attribute names cannot contain spaces since 1.8.4.
Of course generally you wouldn’t want your attribute name to have a
space but I was adding them dynamically.
If your interested, there is some more info at my blog
http://counterflo.ws.
Gareth