Ignore:
Timestamp:
2016-06-20T12:41:13+12:00 (8 years ago)
Author:
kjdon
Message:

use standard GSXML function to add namespaces

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.