[
https://issues.apache.org/jira/browse/TAPESTRY-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612448#action_12612448
]
Christophe Cordenier commented on TAPESTRY-2325:
------------------------------------------------
Actually, I had to omit the xmlns attribute and the HTML Doctype to workaround.
> Problem with HTML Markup in Block when updating a Zone
> ------------------------------------------------------
>
> Key: TAPESTRY-2325
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2325
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.0.11
> Environment: Windows
> Tomcat 5.5
> JDK 1.5.0_11
> Reporter: Christophe Cordenier
> Priority: Minor
>
> I have a simple action link that update a zone with a Block.
> I have implemented the Layout pattern and my Layout template starts with :
> <!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"
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
> ...
> </html>
> If the block returned by the method associated with my actionlink contains
> HTML Markup like a simple <div>...</div>, I have this error :
> [ERROR] RequestExceptionHandler Processing of request failed with uncaught
> exception: Namespace prefix for URI 'http://www.w3.org/1999/xhtml' is not
> defined.
> java.lang.RuntimeException: Namespace prefix for URI
> 'http://www.w3.org/1999/xhtml' is not defined.
> ...
> The errors seems to be due to the partial request handling, when a HTML
> element is transformed in the "toMarkup" method, it looks for the parent to
> know the mapping for the "http://www.w3.org/1999/xhtml" namespace and fails
> because parent is "null" due to partial rendering.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]