I would have liked to attached a tool I made - it helped me when I was head of Theme S40 Architecture - the tool is called ThemeAnalyzer

It helps with showing the elements of a Theme file ".nth"
If you have problems getting a theme to work on fulltouch S40 products, then you can use this tool to make an analysis check - it will perform deep xml, dtd validation

See this tool as a help to other tools, like the carbide ui tool
NB! This tool is only to be used by Nokia Developer registrated users !!!

If you are a registered Nokia Developer and would like a copy of this tool, then contact
johnny.serup@nokia.com

I will however not be answering after September 2012, since this is my last day at Nokia copenhagen