Bryan,
This is a XML parser issue. You can create an EntityResolver and
configure your own XMLReader (by getting an instance from
LocalConfiguration). Then you can pass the
Unmarshaller.getUnmarshalHandler() into your reader instance. With your
EntityResolver you should be able to prevent the parser from accessing
the external website.
--Keith
bryan hansen wrote:
I am struggling with a validation problem that I am
not sure is totally related to castor. I am trying to
UnMarshall an xml doc to a java object and the doc
that is sent to me (I have no control of its contents)
has a System dtd listed at the top of it. When I try
to unmarshall it want to try and connect to the site
that is sending it to me and it can't because the
server is locked down with a proxy. I have tried a few
things to disable the validation of it and it doesn't
seem to be working. I set the validation for the
unmarshaller to false. I set various castor.properties
values to false for validation and nothing seems to
make a difference. I have googled around for a couple
hours, but don't seem to find anything really relevant
to this. Any suggestions?
Thanks,
Bryan
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------