Advertisement

03.30.2008 at 10:25AM PDT, ID: 23280888
[x]
Attachment Details

XML validation against XSD with JUNIT

Asked by Molko in Java Programming Language

Tags: Java

Hi

I have some XML, i have and XSD i want to write some Junit tests that prove that the validation is correct.

Can someone please advise best way to go about this.

I am thinking of having XML / XSD as string variables but am unsure what techniques i need to use to validate


Example code would be very helpful.Start Free Trial
[+][-]03.30.2008 at 02:04PM PDT, ID: 21241939

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Tags: Java
Sign Up Now!
Solution Provided By: marklorenz
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628