So, in order for SAXBuilder to correctly parse/build a XML file, the XML file must contain DOCTYPE declaration? <br>
<br>
<br><div><span class="gmail_quote">On 8/31/05, <b class="gmail_sendername">Michael Kay</b> <<a href="mailto:mike@saxonica.com">mike@saxonica.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="q">
<div align="left" dir="ltr">I am having some trouble figuring out how to go about
resolving entities when an XML file doesn't have DOCTYPE declaration (no DTD
attached to it), but contains entities that are 'non-standarad' (such as,
'&nbsp;', etc...). <span><font color="#0000ff" face="Arial" size="2"> </font></span></div>
<div align="left" dir="ltr"><span></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div></span>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">I don't think such a file can correctly be described as an
XML file.</font></span></div><span class="sg">
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">Michael Kay</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"><a href="http://www.saxonica.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.saxonica.com/</a></font></span>
</div>
</span></blockquote></div><br>