Changeset 16944

Show
Ignore:
Timestamp:
21.08.2008 14:02:40 (11 years ago)
Author:
kjdon
Message:

add xmlns:xsl into the page element as well, in case we are doing o=xml and the format statement has xsl elements

Files:
1 modified

Legend:

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

    r16688 r16944  
    196196    Element page = this.doc.createElement(GSXML.PAGE_ELEM); 
    197197    page.setAttribute(GSXML.LANG_ATT, request.getAttribute(GSXML.LANG_ATT)); 
     198    // just in case these namespaces end up in the page and we want to display the XML 
    198199    page.setAttribute("xmlns:gsf","http://www.greenstone.org/greenstone3/schema/ConfigFormat"); 
     200    page.setAttribute("xmlns:xsl", "http://www.w3.org/1999/XSL/Transform"); 
    199201     
    200202    //logger.info(a+" mesa=" + this.converter.getPrettyString(message));