java: xml/html file with doctype trying to connect to site
I've html/xml files that contain the following:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
The Java program that I create parses this file however it won't compile b/c it's trying to visit the w3 site for the DTD info. Any idea if this function can be turned of in Java/Eclipse?
I added this line:
(dbf being the documentbuildfactory)
However, it's still trying to validate.