Danno Ferrin wrote:
>
> I am sorry to start this thread here, but I believe that jasper-4.0's
> behavior is in error. The behavior I think the spec calls for in
> determining if a page is a JSP Document (xml jsp) or an XMl document
> with JSP markup is the presence or absence of a jsp:root element.
> [...]
I agree. JSP 1.1 says that everything that's not a JSP element is
treated as template text, and that any type of markup (text) language
can be used as template text. This means that a pure XML document,
with an <?xml version="1.0?> element at the top, is a valid JSP
page using the JSP 1.1 syntax.
The best (only?) way to identify a page that uses the JSP 1.2 XML syntax
is what you suggest: look for a jsp:root element. This should be
clarified in the JSP 1.2 spec.
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com