WpDojoloader allows you to include dojo widgets into wordpress
Vistit http://wpdojoloader.berlios.de there is a getting started tutorial.
Maybe, i haven't tested it. So if it works, let me know about that.
You probably have copied and pasted from the example pages. Then it's possible that the quote characters are wrong.