wood burning stoves
The moose likes XML and Related Technologies and the fly likes Date validation with XSD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Date validation with XSD" Watch "Date validation with XSD" New topic

Date validation with XSD

Gopi Chella
Ranch Hand

Joined: Apr 26, 2010
Posts: 53
Hi Guys,

Below is the line from my xsd file and i want to check whether the date is after Jan 2008 in XML, if the date is before Jan 2008 then my xsd should catch that.

Is there a way we can do this with xsd ? because i have searched a lot to find this but no luck. can you guys help me here ?

Thanks, Gopi

SCJP 1.5
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 471

I agree. Here's the link: http://aspose.com/file-tools
subject: Date validation with XSD
It's not a secret anymore!