In Ubuntu you have to install the latest version of XeteX for OldStyle Figures to work. (The default xetex ubuntu install is 2007, even in Ubuntu version 9.04!) See this page https://lists.ubuntu.com/archives/ubuntu-users/2008-May/147616.html for a simple guide on how to do that. YC.