Me n My Programming

If Only I Have TIme

Sometimes, XML code internet to validate the content

I got a code (class) that open an XML file. Unfortunately, today I just realize that the XML file that I’m reading is trying to connect to a URL in the doctype header so it can download it in order to validate the document against the downloaded DTD.

So, if you got this error message next time:

javax.xml.parsers.DocumentBuilder.parse(Unknown Source)

just remember to plug-in your Internet connection.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Information

This entry was posted on December 17, 2010 by in Java, XML.
%d bloggers like this: