This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.