<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
e.g. each xml file needs exactly one single root element , and your
exampel has none .<br>
moreover a xml header is missing here.<br>
bodo<br>
<br>
salil khanwalkar schrieb:<br>
<blockquote type="cite"
cite="mid20030813090212.47346.qmail@web13802.mail.yahoo.com">
<div>Hi </div>
<div>My xml looks like this --</div>
<div><user username="1234" password="xxxxxx12" /><br>
<user username="user12345" password="xxxxxx123" /><br>
<user username="user123456" password="xxxxxx1234" /></div>
<div>When parsing this file JDOM returns errors as i have turned on
the check for <br>
validations and well formedness of the documents. <br>
</div>
<div>SAXBuilder builder = new SAXBuilder(true);</div>
<div> </div>
<div> </div>
<div>SAXBuilder builder = new SAXBuilder();--when is use this no
errors will <br>
occur and i am able to parse the file properly.</div>
<div>Why does this happen or is there anything wrong with my xml file?</div>
<div>Thank You,<br>
Salil.</div>
<div> </div>
<div> </div>
<hr size="1"> Do you Yahoo!?<br>
<a
href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo!
SiteBuilder</a> - Free, easy-to-use web site design software </blockquote>
<br>
</body>
</html>