Scripting bridge error with microsoft word 2008

Hi,

I am trying to use scripting bridge to create some documents using microsoft word from within my cocoa application.

I use the following command to generate the glue code header for microsoft word

sdef /Applications/Microsoft\ Office\ 2008/Microsoft\ Word.app/ | sdp -fh --basename MicrosoftWord

sdp fails and prints the error message

sdp: /dictionary[1]/suite[4]/enumeration[90]/enumerator[50]: missing required “name” attribute

the header file generated is also incomplete and cannot be used .

Any pointers on why this is happening and how to rectify it?

Cheers,
Gokul