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

        

Reply via email to