This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I'm not sure if this is the right section to post this question.. but here goes....
I have been struggling to validate an XML file based on the OFX standard using the ofx202.dtd file that can be downloaded from their website. I am not entirely sure how I should reference the DTD so that the parser can find it. I'm not sure of the system-id, public-id etc required to refer to it publicly and would like to provide a locally cached version of the dtd in a war file anyway. Unfortunately, the parser doesn't seem to be able to find an external dtd located in a war file or jar file which are packageded as part of an ear.
Does anyone have any idea how I can get round this problem? I have seen posts elsewhere that suggest creating your own entity resolver, but not sure if this is the right solution. Any suggestions, code or referred articles will be much appreciated.