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 Check the Validity of XML document through Java 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 "Check the Validity of XML document through Java" Watch "Check the Validity of XML document through Java" New topic
Author

Check the Validity of XML document through Java

arun sharma
Greenhorn

Joined: Jul 02, 2003
Posts: 19
Hi;
I am having a XML file with DTD defined. How can u check its validity through Java
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by arun sharma:
Hi;
I am having a XML file with DTD defined. How can u check its validity through Java

With Java - Apache Xerces http://xml.apache.org/xerces2-j/faq-general.html#faq-4
with .net http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconvalidationagainstdtdwithxmlvalidatingreader.asp


Spritle Software Blogs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Check the Validity of XML document through Java