<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I've discovered some parsing behaviour that seems
dubious to me. Could someone clarify if this is correct or
not?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>If I have an XML text stream that is well-formed
and I don't specify validation should SAXBuilder be able to build a Document in
all cases? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In particular I have the following problem: If the
XML document has a DOCTYPE with an external reference in it and the DTD is not
accessible the build fails! To me this seems to be the wrong behaviour
when we haven't requested validation. Shouldn't the rules be:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>a) if you specified validation then the
DOCTYPE must be present and the file accessible so that validation can be
completed</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>b) if you don't specify validation then if the
DOCTYPE is present it follows the rules for formatting but accessibility of
the actual DTD is not necessary?</FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>regards</FONT></DIV>
<DIV><FONT face=Arial size=2>--malcolm</FONT></DIV></BODY></HTML>