Re: Add a DOCTYPE?

2008-01-29 Thread Chuck Kring
. my page: ?xml version=1.0 encoding=UTF-8? !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head... -- 徐 依伟 -- View this message in context: http://www.nabble.com/Add

Re: Add a DOCTYPE?

2008-01-29 Thread Chuck Kring
The problem is with the html tag: html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; works html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; worked on 5.0.7 and fails on 5.0.9 Cheers,

Add a DOCTYPE?

2008-01-09 Thread Donyee
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

Re: Add a DOCTYPE?

2008-01-09 Thread Howard Lewis Ship
Which version of Tapestry are you using? On Jan 9, 2008 12:05 AM, Donyee [EMAIL PROTECTED] 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

Re: Add a DOCTYPE?

2008-01-09 Thread Chris Lewis
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

Re: Add a DOCTYPE?

2008-01-09 Thread Donyee
I use T5.08-SNAPSHOT. my page: ?xml version=1.0 encoding=UTF-8? !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head...

Re: Add a DOCTYPE?

2008-01-09 Thread Donyee
T5.07 works fine! T5.08-SANPSHOT turns wrong! 2008/1/10, Donyee [EMAIL PROTECTED]: I use T5.08-SNAPSHOT. my page: ?xml version=1.0 encoding=UTF-8? !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html