i have an application that needs the ability to re-parse the same digest file multiple times. each time the digest file will have been modified, so the resultant object should reflect these modifications. the digest rules are defined via xmlrules. these rules themselves do not change; the modification is only to the digest file.
assume below digestRulesURL and digestURL are valid URLs (that never change) pointing to the appropriate files. each time i setup a new digester instance and call parse() via the following... Digester aDigester = DigesterLoader.createDigester(digestRulesURL); aDigester.setNamespaceAware(true); aDigester.setXIncludeAware(true); SomeObject o = (SomeObject) aDigester.parse(digestURL); ...the results of parse() always reflect the first time it was called. that is to say, no matter how many times i change the digest file, create a new digester, and call parse (as above), the resulting object (though seemingly a new instance) has the same state as the original call to parse(). i know from the Digester FAQ, that one should not reuse a digester object, which is why i am recreating each time. there appears to be some sort of caching or state that is maintained. i peeked around the xmlrules DigesterLoader code and related, but not enough to see anything that would tip me off. any help would be appreciated.
