OK. I feel silly for even posting this but I am getting an error when I use the import element in my xml bean def file.

example

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING/DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<description>this is the description</description>
<import resource="mycontext.xml"/>
<bean id="junk" class="com.Junk"></bean>
</beans>

the error is

nested exception is org.xml.sax.SAXParseException: Element type "import" must be declared.


import is in the DTD... so anyone have any idea what I'm doing wrong?

Thanks