<!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.50.4613.1700" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=754020217-07082001><FONT face=Arial size=2>I would like to know
if we could use JDOM to validate an XML file against a 10/2000
Schema. Also the XML file will not state a schema.
</FONT></SPAN></DIV>
<DIV><SPAN class=754020217-07082001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=754020217-07082001>We are doing
this currently by using</SPAN> <SPAN class=754020217-07082001>Oracle XML Parser
v2.0.2 to validate an incoming XML file against a schema. Then </SPAN>w<SPAN
class=754020217-07082001>e </SPAN><SPAN class=754020217-07082001>use JDOM B6 to
read the file into our application.</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=754020217-07082001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=754020217-07082001><FONT face=Arial size=2>The reason we do it
this way, is that we could not find out how to basically tell JDOM here is
a schema and here is an XML file. Then ask if the XML file is valid
according to the provided schema. We can do that with the Oracle XML
Parser very easily, however we prefer to use JDOM for getting the XML into the
application once it has passed validation.</FONT></SPAN></DIV>
<DIV><SPAN class=754020217-07082001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=754020217-07082001><FONT face=Arial size=2>I am asking if JDOM
can do this or something similar so we are not dependant on Oracle and JDOM, and
we can only use JDOM.</FONT></SPAN></DIV>
<DIV><SPAN class=754020217-07082001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=754020217-07082001><FONT face=Arial size=2>Please
advise...</FONT></SPAN></DIV>
<P><FONT size=2>Rodney S. Foley<BR>Software Developer<BR>Hard Dollar
Corporation<BR>rsfoley@harddollar.com<BR>www.harddollar.com </FONT></P>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>