The value "NaN" is invalid for option size

We are using the Sales Order object as a  web service, and it occasionally returns "The value "NaN" is invalid for option "size"".  The XML looks okay to me, so I'm not sure what is causing it.  Has anybody else come across this?