commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Akerman <>
Subject RE: [validator]
Date Thu, 28 Feb 2013 19:35:59 GMT

I'm not a "validator" user, but I do a lot of JAXP and DOM.  I'd advise that you never trust
a DTD to stay available at the published address and implement your own EntityResolver like

I have a small JAR file that I wrote before I was aware of the Xerces CatalogResolver, and
you're welcome to that solution as well.  I just bundle the DTDs I'm using inside the JAR,
and my EntityResolver InputStream points to ClassLoader.getResourceAsStream.

Michael Akerman
Systems Analyst
IT Services
University of Arkansas

-----Original Message-----
From: Zuffoletto, Joe Jr. [] 
Sent: Thursday, February 28, 2013 12:19 PM
Subject: [validator]

Suddenly my struts 1.3 app can't find the validator DTD's. Getting the following message:

ERROR: 02-28-2013 11:15:38 -

And also:

ERROR: 02-28-2013 11:15:43 - Parse Fatal Error at line 5 column -1: External entity not found:
org.xml.sax.SAXParseException; lineNumber: 5; External entity not found: "

Anyone know why this is happening or where the files moved to?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message