Although `<a[foo]></a[foo]>` should have been enough seeing as you can't get to `['foo']` without the other syntax being supported (or at least producing a different error message.