can you ignore the <!DOCTYPE> tag using the dom parser?
i wrote the following code to create a dom document object:
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.parse("struts-config.xml");
all works fine for files without the DOCTYPE tag. i get a
ConnectionException, which is because i am behind a proxy server. i just
want to ignore the external entity altogether.
thanks,
steve
Steven Melzer
E-Business Technology
813.351.2215
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]