Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Check the Validity of XML document through Java

 
arun sharma
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi;
I am having a XML file with DTD defined. How can u check its validity through Java
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic