Hi

I am trying to sort out a problem with marshalling xml in a closed
environment (i.e. one that does not have internet access for security
reasons).

I have an xml document with document type:

<!DOCTYPE svc_result PUBLIC "-//OMA//DTD svc_result 3.2//EN" "
http://www.openmobilealliance.org/Tech/DTD/MLP_SVC_RESULT_320.DTD";>

However this external URL is not available in our live environment, and so
the marshalling fails to access the DTD - resulting in failure. What is the
recommended way to use castor in this type of environment. Can I specify an
alternative location for the DTD, holding it locally perhaps?

I do not have control over the XML document which is being sent to me, I
would like to validate against the DTD - but if I need to bypass this I
will.

Thanks for any help you can give

Neil.

Reply via email to