Results 1 to 1 of 1
- 10-10-2008, 02:52 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 19
- Rep Power
- 0
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"
"w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
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.setValidating(false);
(dbf being the documentbuildfactory)
However, it's still trying to validate.
Similar Threads
-
How to print a HTML file in browser look using JAVA
By ammameiya in forum Advanced JavaReplies: 5Last Post: 06-25-2010, 02:36 AM -
java: xml/html file with doctype trying to connect to site
By newbieal in forum New To JavaReplies: 6Last Post: 10-10-2008, 05:07 PM -
Include Java file in HTML Page
By kathyc in forum New To JavaReplies: 2Last Post: 03-07-2008, 03:51 AM -
Code to connect to a web site
By suji in forum NetworkingReplies: 1Last Post: 02-15-2008, 04:05 PM -
How can I get a RealMedia file from a web site?
By emesol0 in forum NetworkingReplies: 0Last Post: 01-24-2008, 07:01 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks