Changeset 30586

Show
Ignore:
Timestamp:
20.06.2016 12:41:13 (4 years ago)
Author:
kjdon
Message:

use standard GSXML function to add namespaces

Files:
1 modified

Legend:

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

    r28966 r30586  
    246246        page.setAttribute(GSXML.LANG_ATT, request.getAttribute(GSXML.LANG_ATT)); 
    247247        // just in case these namespaces end up in the page and we want to display the XML 
    248         page.setAttribute("xmlns:gsf", GSXML.GSF_NAMESPACE); 
    249         page.setAttribute("xmlns:xsl", GSXML.XSL_NAMESPACE); 
    250  
     248        GSXML.addGSNamespaces(page, false); 
     249         
    251250        //logger.info(a+" mesa=" + this.converter.getPrettyString(message)); 
    252251        // get the page data from the action