JavaServer Faces - null

I'm trying to build an application using tiles as described in "Core Java Server Faces", page 330 onwards.

I cannot get past the tiles.xml file validation. I have the following in my WEB-INF/tiles.xml file. I can validate it without errors, but within the ide (NetBeans 5.5) file listing, the file is shown as being broken. If I double click on it to open it, it displays "fatal errors were found in tiles.xml". Any ideas?

Werner

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE tiles-definitions PUBLIC

"-//Apache Software Foundation//DTD Tiles Configuration//EN"

"http://jakarta.apache.org/struts/dtds/tiles-config_1_3.dtd">

<tiles-definitions>

<definition name="WebAppPage" path="/IceGraph-GraphdesGlaces.jsp">

<put name="WebAppHdr" value="/WebAppHeader.jsp"/>

<put name="WebAppFtr" value="/WebAppFooter.jsp"/>

<put name="WebAppLftMnu" value="/WebAppLeftMenu.jsp"/>

<put name="WebAppBody" value="/WebAppBody.jsp"/>

</definition>

</tiles-definitions>

[1107 byte] By [reichewa] at [2007-11-26 23:15:35]
# 1
Also, if I do a mouse-over on the filename where the ide popup message is "cannot find deployment descriptor root element".
reichewa at 2007-7-10 14:15:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I renamed the file to tile-defs.xml, updated web.xml to point to it and it all works now. Still don't know why.
reichewa at 2007-7-10 14:15:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...