Hi Jessica,
> 
> I finally got around to trying this. It broke with the following
error:
> 
> java.net.MalformedURLException: java.lang.NullPointerException
>       at java.net.URL.<init>(URL.java:496)
>       at java.net.URL.<init>(URL.java:376)
>       at java.net.URL.<init>(URL.java:330)
>       at
>
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.jav
a:740)
> 
> I asked it to tell me when it tried to resolve entities:
> 
>  resolving entity /WEB-INF/conf/mapping.xml
>  resolving entity http://Castor.exolab.org/mapping.dtd
> 
> So apparently mapping.xml got resolved fine. I theorize that, by using
my
> own entity resolver, I lost the ability to resolve entities on
different
> machines. This is certainly fixable (most easily by copying
mapping.dtd to
> my system), but since I did get Ned's solution to work, I am not going
to
> continue to explore this solution. I just wanted to report back to the
> list for completeness' sake.

I see an obvious problem here, the system ID you are using is wrong, you
should remove the capital 'C' from Castor. The correct system ID to use
should be

http://castor.exolab.org/mapping.dtd


Hope that helps,

Arnaud

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to