commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reid Pinchback <>
Subject Re: Parse exceptions on DOCTYPE after upgrading digester jar file
Date Sat, 11 Jun 2005 00:33:16 GMT

Suggested experiment:  Put a copy of the tiles DTD on your
drive.  Edit the XML file you were digesting to change the 
system id (the http url), and replace it with the path to 
the file on your system. If the problem goes away then it 
means you got a less-than-useful message disguising the real 
problem: the parser wasn't able to retrieve the DTD.  Xerces
and Crimson log messages/errors are clear when this is
happening.  I don't know what the Resin parser does in 
such situations.  This might not help, but is an easy
enough thing to try if you didn't want to change Resin
parsers for some reason.

--- Rick Mann <> wrote:

> I upgraded the digester in our project to the latest version (1.6,  
> beanutils 1.7, and now when resin loads and attempts to parse our  
> tiles definitions file, it gets the following error (unknown  
> declaration `DOCTYPE'). The release notes don't say anything, and a  
> quick Google search didn't turn up anything particularly useful. Any  
> ideas? The file starts with:
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE tiles-definitions PUBLIC
>         "-//Apache Software Foundation//DTD Tiles Configuration//EN"
>         "">
> <tiles-definitions>

Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out!

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

View raw message