<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>Le 4 oct. 05 à 22:02, David Patterson a écrit :</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><P class="MsoNormal"><FONT size="2" color="black" face="Arial"><SPAN style="font-size: 10.0pt;color:windowtext; font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; "> had a problem trying to use the SAXBuilder to process an XML file that uses namespaces, and has XML Schema validation and uses an EntityResolver to locate the schema files. The XML file also has a DOCTYPE <SPAN style="font-size: 10.0pt;color:windowtext; font-family: Arial; font-size: 13.3333px; "><FONT class="Apple-style-span" color="#0000DD">declaration for an entity. (I mention all of these in case one is known to cause problems.)</FONT></SPAN></SPAN></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="black" face="Arial"><SPAN style="font-size: 10.0pt;color:windowtext; font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">I’ve solved the problem (perhaps not in the best way) but wanted to bring it to your attention in case it is a known or unknown bug.</SPAN></SPAN></FONT></P></SPAN></BLOCKQUOTE>have you tried without the entity-resolver ? Seems like a fancy resolver.<BR><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><P class="MsoNormal"><FONT size="2" color="black" face="Arial"><SPAN style="font-size: 10.0pt;color:windowtext; font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">I tried using the build( File), build( InputStream) and build( InputSource), and all fail similarly. I have tested the correct solution on the File and InputStream versions and they both work the same.</SPAN></SPAN></FONT></P></SPAN></BLOCKQUOTE></DIV>Don't use build(inputStream).<BR><DIV>build(File) should work.</DIV><DIV>build(InputSource) will only be able to resolve relative paths when the input-source is set with a system id.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Just a few hints.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>paul</DIV></BODY></HTML>