myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lutz Ulruch (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TOMAHAWK-1448) InputHtmlRenderer: Missing xmlns:i18n declarations in various HTML elements
Date Fri, 18 Sep 2009 13:29:16 GMT
InputHtmlRenderer: Missing xmlns:i18n declarations in various HTML elements
---------------------------------------------------------------------------

                 Key: TOMAHAWK-1448
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1448
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Html Editor
    Affects Versions: 1.1.9
            Reporter: Lutz Ulruch
            Priority: Minor


In encodeEndNormalMode() various HTML elements are written with attributes prefixed with "i18n".
Not all those HTML elements have a namespace definition.
That is:

writer.writeAttribute("xmlns:i18n", "http://xml.zope.org/namespaces/i18n", null);

is missing for various elements (whereas for most elements the namespace attribute is set
already).

This results in invalid XHTML. This in turn results in errors with DOM parsing throug browser-side
scripts, like with RichFaces' PPR.
Please, just add the missing xmlns:i18n attributes. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message