Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1245 | major | always | 07-11-06 17:35 | 06-04-07 14:25 | |
|
|||||
Reporter: | svadu | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.19 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.1 | ||
|
|||||
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 [^] |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|