CT_GradientFillProperties defines attribute rotWithShape to be xsd:boolean
(It is defined like this in ECMA 376 and ECMA 376 2ed)
That means Word should support true or false or '1' or '0': see http://www.w3.org/TR/xmlschema-2/#boolean
How to work around this bug in Office?
We should still support reading 'true' and 'false', since apps other than Office might validly write those values. So this suggests some sort of Marshal Event Callback, or filter (XSLT?) after marshalling, to ensure we write the boolean in a form that Office is happy with.http://download.oracle.com/javase/6/doc ... tener.html
The event callbacks are not called when marshalling from an instance of a Java datatype that represents a simple type definition.
so I think that approach won't work.