Given a document: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE iChart SYSTEM "http://localhost/Illuminator/DTD/iChart.dtd"> <iChart SaveDate="06/18/2002 11:39:06" Version="9.0" ChartBorderColor="#FFFF00" MainBorderColor="#FF0000"/>
...and the following code: DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance(); dFactory.setValidating(false); dFactory.setExpandEntityReferences(false); DocumentBuilder dBuilder = dFactory.newDocumentBuilder(); Document doc = dBuilder.parse(iStrm); ...I would expect that the DTD not be processed. However, there are defaults defined in the DTD that are included in the resultant DOM. How can this be suppressed with Xerces? We are running Xerces 1.4.4, because of issues with Xalan compatibility. Rick Bullotta CTO Lighthammer Software (www.lighthammer.com) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
