[Home] [By Thread] [By Date] [Recent Entries]


From: "Rajesh AVRS" <rajesh.ram@w...>
>
> I have written a Java application which simply parses the given XML file.
> But now I want to turn the validation ON, so that it will validate the XML
>...
> But even when I define an element which is not specified in the DTD it is
> parsing the XML file without any errors.  I am going crazy.  Please help
me
> out.

Hi Rajesh,

Have you registered an ErrorHandler?  If not, your application will not get
to see validity errors.

Regards
~Rob


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member