This is no good as you know and the data is rejected.
I was hoping to get the validation error in the above case too, but it accepted the date.
Contrary to what you seem to suggest it being an invalid data, it is indeed a valid XMLGregorianCalendar lexical representation. The year part is taken as 211400305. It is valid. Why? Because the year part is a BigInteger. I suggest you read the documentation (java 6 or 7).
Joined: Nov 28, 2007
Thanks a lot for that clarification. I now see what you mean.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com