ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  XML Data Binding with Castor
Subject:   Problem with castor.exolab.org/mapping.dtd
Date:   2004-03-25 09:38:41
From:   kmullin
I'm using the downloaded files from the article on XML Binding using Castor. But, when I execute the ViewAddressbook Java program, I get:


org.exolab.castor.mapping.MappingException: Nested error: java.net.UnknownHostException: Castor.exolab.org


I see a reference to this in my mapping file (which I downloaded). When I try to view this with my browser, using the URL


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


I get errors in my Internet Explorer, V6, that says:


Cannot have a DTD declaration outside of a DTD. Error processing resource 'http://castor.exolab.org/mapping.dtd'. Line 22, Position 11


So, the problem I am having is on your end (I think.)


1 to 2 of 2
  1. Problem with castor.exolab.org/mapping.dtd
    2006-03-24 15:48:47  MobileX [View]

  2. Problem with castor.exolab.org/mapping.dtd
    2004-06-01 23:43:28  Pashmina [View]

1 to 2 of 2