File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Date validation with XSD" Watch "Date validation with XSD" New topic
Author

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: 394
Try

 
 
subject: Date validation with XSD
 
Similar Threads
Socket error :Unknown host
approach to save/retrieve data into database when number of columns keep changing
Just realise something interesting about Date in Java and SQL
Wrong Hour/Timezone
Changing eclipse variables