Anonymous | Login | Signup for a new account | 11-17-2024 00:51 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001245 | [Resin] | major | always | 07-11-06 17:35 | 06-04-07 14:25 | ||||
Reporter | svadu | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.19 | ||||||
Summary | 0001245: Problem in resulting html (xhtml) with facelets | ||||||||
Description |
I have a strange problem with facelets. Here is the source code of very simple xhtml file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> [^] <html xmlns="http://www.w3.org/1999/xhtml" [^] xmlns:ui="http://java.sun.com/jsf/facelets" [^] xmlns:h="http://java.sun.com/jsf/html" [^] xmlns:f="http://java.sun.com/jsf/core"> [^] <head> <script type="text/javascript"> //<![CDATA[ var i; //]]> </script> </head> </html> And the rendered page looks like this: <html xmlns="http://www.w3.org/1999/xhtml"> [^] <head> <script type="text/javascript"><!-- <![CDATA[ // var i; //]]> //--></script> </head> </html> As you can see DOCTYPE is skipped also the //<![CDATA[ and //]]> are misplaced. This is resin-only issue. It has works correctly under Tomcat and WebLogic. I tried this with MyFaces1.1.5/Facelets (all versions), with MyFaces 1.1.3/Facelets and JSF-RI 1.2/Facelets. Complete war file with the example can be downloaded from http://mastersad.homelinux.net/test.war [^] |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 27 unique queries executed. |