I'm testing Tapestry with IDEA and when I create a file called "home.page" that uses the Tapestry DTD, IDEA is saying "Wrong Root Element" even though page-specification should be a valid element. I have mapped .page files as XML and have used IDEA's intention to fetch the DTD.
The funny thing is that IDEA even suggests that as one of the alternative root elements but when it has been written, IDEA marks it as an error.
It should be very easy to replicate this issue. The file looks as follows: