When iam trying to validate Invalid XMl file with respect to schema it is diplying isvalid “true” and error as “null”.[FONT=PalatinoLinotype-Italic][SIZE=3]
failIfInvalid parameter is given like default.

please suggest me how can i validate the file

Madhavi Challa

In what way is the XML invalid?

Structure is different to actuval schema structure.

You’ll need to elaborate.

What are you passing to validate? It supports a couple of different ways to validate.

For XML, you’ll want to pass in the node object and the name of the IS schema against which to validate. The schema definition will control whether or not “extra” elements are allowed. Make sure the schema identifies the required and optional elements.