I am trying to use JSP Documents and have run into a snag. If I use a tld for tag files, which I want to do so that I can mix tag-file entries and tag entries in the same namespace, and I reference that tld from inside a tag file defined in that tld, tomcat ends up in a loop never to return. If I'm lucky, I may get java.lang.StackOverflowError. I want to do this so that I can use other tags in the same namespace inside a tag. I am not calling the tag from inside itself, it is simply the tld that is referenced. If I remove the reference to the tld, the tag will run. Has anyone else run into this problem? I'm hoping there is something simple I am missing. My setup: Tomcat 5.0.27 on Windows XP JDK1.4.2_05 Sample code below. I can provide the StackOverflowError trace if it would be useful. Thanks, Vincent Bumgarner Home.jspx <rmcore:page xmlns=http://www.w3.org/1999/xhtml <http://www.w3.org/1999/xhtml> xmlns:rmcore="rmcore:1.0"> [ home ] </rmcore:page> tld: <taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd <http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd> " version="2.0"> <tlib-version>1.0</tlib-version> <uri>rmcore:1.0</uri> <short-name>rmcore</short-name> <tag-file> <name>page</name> <path>/WEB-INF/tags/core/page.tagx</path> </tag-file> <tag > <name>tabs</name> <path>com.riskmetrics.web.tags.TabsTag</path> </tag> ... page.tagx <html xmlns="http://www.w3.org/1999/xhtml" xmlns:rmcore="rmcore:1.0"> ... <rmcore:tabs /> ...