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,

                               Chuck


Chuck Kring wrote:
Was there any resolution to this issue?

I just ran into it.  My templates work fine with 5.0.7 (prerelease) but
break with 5.0.9.

My headers look like this:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<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";>

The exception I received was:

ERROR 13:00:21:015
org.apache.tapestry.internal.services.DefaultRequestExceptionHandler.(DefaultRequestExceptionHandler.java:50):
Processing of request failed with uncaught exception: Namespace prefix for
URI 'http://www.w3.org/XML/1998/namespace' is not defined.
java.lang.RuntimeException: Namespace prefix for URI
'http://www.w3.org/XML/1998/namespace' is not defined.
        at org.apache.tapestry.dom.Element.toNamespacePrefix(Element.java:501)
        at org.apache.tapestry.dom.Element.toPrefixedName(Element.java:364)
        ...

                                                           Chuck Kring


Donyee wrote:
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 xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
<head>...


--
----徐 依伟




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

Reply via email to