Paolo Valladolid wrote:
This is the EntityResolver class I wrote:
public class MessageEntityResolver implements EntityResolver {
public MessageEntityResolver() {
}
public InputSource resolveEntity (String publicId, String systemId) {
System.out.println("systemid=" + systemId);
return null;
}
}
I added this line to the code calling the Digester:
digester.setEntityResolver(new MessageEntityResolver());
However, the digester still tried to process the <!DOCTYPE> tag.
What exactly do you mean by "process the <!DOCTYPE> tag"? There's
nothing that can tell the parser to skip it ... so I guess the real
question is "why is processing the <!DOCTYPE> tag a problem?"
Paolo Valladolid
Software Developer
DFI International Government Services
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]