I'm not sure what the problem is. I use this just fine in my layout:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

Perhaps you can paste your code as well as version? I imagine that TODO you saw refers to validating the DTD against the actual document body, but I'm not certain.

chris

Donyee wrote:
How to add a DOCTYPE in the tapestry tml page.
I put "
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd";>
" in the page.

Error:
java.lang.RuntimeException Namespace prefix for URI '
http://www.w3.org/XML/1998/namespace' is not defined.

and in http://tapestry.apache.org/tapestry5/tapestry-core/guide/dom.html
I see *TODO: Support for doctypes, content type, processing instructions,
and top-level comments.


Does tapestry support this?


*



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to