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 Question on JAXB Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Question on JAXB Validation" Watch "Question on JAXB Validation" New topic
Author

Question on JAXB Validation

Sukumar Gaade
Greenhorn

Joined: Apr 23, 2009
Posts: 21
Hi,

I am using JAXB for marshalling and unmarshalling from Java to XML and vice versa. I have a requirement where i need to validate the input xml against a schema and if the xml is invalid i need to update the input xml with all the error codes on the parent node in which the validation failed and save the xml to a network drive. Whats the best way to acheive this?

Sukku.
 
Consider Paul's rocket mass heater.
 
subject: Question on JAXB Validation
 
Similar Threads
JAXB XML Processing
Pass values to XML
Customising generated JAXB Classes with custom annotations
JAXB now or wait?
JAXB XML Processing