On Tue, 30 Sep 2008, John Jimmy Dondapati wrote:

>>
>>> Hi,
>>>
>>> I created some custom components and put them in my pages. Although
>>> the functionality is fine, I get this error :
>>>
>>> An unexpected application exception has occurred.
>>>
>>> java.lang.RuntimeException
>>> Namespace prefix for URI 
>>> 'http://tapestry.apache.org/schema/tapestry_5_0_0.xsd'
>>>  is not defined.
>>>

Hi John:

The parser is complainging about undefined "namespace prefix for URI" !

You have defined a namespace as,
   <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

Please check that all the 'elements' you are using in defining the
component are written as "t:" ie. 't' prefix.

In case you got any 'anchor links' ie. <a>, please make sure that
'type', 'id' and 'page' attribute have 't' prefix.

Another quick check you may want to make is that all your namespace
declaration are on the same line.

In case you get a chance, please review 
http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-decl

Hope this helps.


thanks
Saifi.

Reply via email to