In my case, I tried to parse styles of a french document; the parseStyles() function found all my styles by it were not applied on the generated document...
I think you have the same problem that mine and it's a bug of the function.
Share your results please.
Regards,