<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff><FONT color=#0000ff face=Arial size=2><SPAN
class=787301421-16022001>When you parse the document, you can have the parser
validate against the DTD. There is not however a method to validate a JDOM
Document instance against a DTD so just use the validate flag on your builder
and you will know you have a valid document coming
in.</SPAN></FONT></BODY></HTML>