You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Paul Sharples (JIRA)" <ji...@apache.org> on 2011/09/06 13:18:10 UTC

[jira] [Created] (WOOKIE-236) HTMLCleaner removes doctype from pages which causes IE 9 problems

HTMLCleaner removes doctype from pages which causes IE 9 problems
-----------------------------------------------------------------

                 Key: WOOKIE-236
                 URL: https://issues.apache.org/jira/browse/WOOKIE-236
             Project: Wookie
          Issue Type: Bug
          Components: Server
    Affects Versions: 0.9.1
         Environment: Windows 7 sp1 x64, IE9
            Reporter: Paul Sharples
             Fix For: 0.9.1


The problem is with the HTMLCleaner class, with the following line found in the constructor.

properties.setOmitDoctypeDeclaration(true);

In IE 9 with the doctype included, the widget runs in "IE9 standards mode" and everything is okay.  
Without the doctype, the widget runs in "quirks mode".  The widget fails and displays an error alert box because it now cannot load the Properties object.  
(Again, note this is a IE specific problem). 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WOOKIE-236) HTMLCleaner removes doctype from pages which causes IE 9 problems

Posted by "Paul Sharples (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WOOKIE-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Sharples updated WOOKIE-236:
---------------------------------

    Description: 
The problem is with the HTMLCleaner class, with the following line found in the constructor.

properties.setOmitDoctypeDeclaration(true);

In IE 9 with the doctype included, the widget runs in "IE9 standards mode" and everything is okay.  
Without the doctype, the widget runs in "quirks mode".  The widget fails and displays an error alert box because it now cannot load the Preferences JS object.  
(Again, note this is a IE specific problem). 

  was:
The problem is with the HTMLCleaner class, with the following line found in the constructor.

properties.setOmitDoctypeDeclaration(true);

In IE 9 with the doctype included, the widget runs in "IE9 standards mode" and everything is okay.  
Without the doctype, the widget runs in "quirks mode".  The widget fails and displays an error alert box because it now cannot load the Properties object.  
(Again, note this is a IE specific problem). 


> HTMLCleaner removes doctype from pages which causes IE 9 problems
> -----------------------------------------------------------------
>
>                 Key: WOOKIE-236
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-236
>             Project: Wookie
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.9.1
>         Environment: Windows 7 sp1 x64, IE9
>            Reporter: Paul Sharples
>             Fix For: 0.9.1
>
>
> The problem is with the HTMLCleaner class, with the following line found in the constructor.
> properties.setOmitDoctypeDeclaration(true);
> In IE 9 with the doctype included, the widget runs in "IE9 standards mode" and everything is okay.  
> Without the doctype, the widget runs in "quirks mode".  The widget fails and displays an error alert box because it now cannot load the Preferences JS object.  
> (Again, note this is a IE specific problem). 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira