Ignore:
Timestamp:
2008-07-14T12:10:15+12:00 (16 years ago)
Author:
davidb
Message:

Change to Skin code (returning Node note Element) so XSLT encodes its DocType -- important information for IE to render resultant HTML correctly. This also required Skin.java to be changed from using DomResult to StreamResult. The former is known to have a problem with loosing its DocType info, and as it's then read-only, has no elegant way to put back this info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/LibraryServlet.java

    r14561 r16374  
    77import org.w3c.dom.Document;
    88import org.w3c.dom.Element;
     9import org.w3c.dom.Node;
    910import org.w3c.dom.NodeList;
    1011import java.io.*;
     
    497498    //GSXML.printXMLNode(xml_message);
    498499   
    499     Element xml_result = this.recept.process (xml_message);
    500     encodeURLs (xml_result, response);
     500    Node xml_result = this.recept.processToPage (xml_message);
     501    // encodeURLs (xml_result, response);
    501502    out.println (this.converter.getPrettyString (xml_result));
    502503   
Note: See TracChangeset for help on using the changeset viewer.