Feb 9th, 2011, 11:58 AM
DTD Resolver for CastorMarshaller
I have an application deployed on a restricted site (no internet access), and I am hitting a problem where castor tries to access the public DTD. I would like to validate against the DTD if possible - but if I need to turn this off I will.
After a little googling a DTDResolver seems to be a good candidate for a solution, however I cannot see where I can set the property on the spring framework castor marshaller.
I'm sure my problem is trivial and lot's of people have hit this before, but it doesn't seem obvious in the documentation.
I was kind of expecting there to be a bean that I could configure with internal references for external resources - but I seem to have drawn a blank on this as well.
Any assistance would be appreciated.