You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "burghard.w.v.britzke (JIRA)" <de...@myfaces.apache.org> on 2008/08/06 10:32:44 UTC

[jira] Commented: (TRINIDAD-1152) Improve XHTML support in Trinidad

    [ https://issues.apache.org/jira/browse/TRINIDAD-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620171#action_12620171 ] 

burghard.w.v.britzke commented on TRINIDAD-1152:
------------------------------------------------

Why not just using getElementByID() or getElementsByTagName()? these work on both - text/html and text/xml (as well as application/xhtml+xml) content type.

> Improve XHTML support in Trinidad
> ---------------------------------
>
>                 Key: TRINIDAD-1152
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1152
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>
> Currently Trinidad is not 100% supporting XHTML.
> See these issues:
> TRINIDAD-818
> TRINIDAD-1139
> Another problem is, that Trinidad uses document.forms property, which works in only some cases:
> -mime_type is "application/xhtml+xml"
> it doesn't work when mime type is "application/xml" or "text/xml", ergo when document send as *xml* to the browser.
> In that case, the getElementsByTagName() provides help...
> See here as well:
> http://blog.rd2inc.com/archives/2005/02/11/xhtml-and-the-applicationxhtmlxml-mime-type/

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