Ignore:
Timestamp:
2012-04-13T18:51:06+12:00 (12 years ago)
Author:
ak19
Message:

Getting the gs2-library servlet (gs2 interface) work again: 1. the changes to GSXSLT.java ensure that when merging inherited stylesheets, not only duplicated template names and but also duplicated template matches as well as include hrefs and output methods are reduced to only one instance, which are solely those occurring in the stylesheet that is most relevant. As stylesheets are passed in from TransformingReceptionist in the necessary order, this was easily done. 2. To get the main page to work again, the gs2 interface's home.xsl file needed to match a template on page/pageResponse not just pageResponse so that duplicate template matches can be picked up in GSXSLT.java. 3. The gs2 interface's classifier.xsl needs to define a template match for classifierList which has now been copied from the equivalent file in the default interface. This allows the Browse pages of the gs2-library servlet to work again. 4. The namespaces used in default interface's util.xsl has been made consistent with equivalent definitions in other Greenstone xsl files. This did not fix any errors, but it's less confusing now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/util.xsl

    r23972 r25381  
    22<xsl:stylesheet version="1.0"
    33  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    4   xmlns:gslib="http://www.greenstone.org/XSL/Library"
     4  xmlns:gslib="http://www.greenstone.org/skinning"
    55  xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
    6   xmlns:util="http://org.greenstone.gsdl3.util.XSLTUtil"
     6  xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
    77  exclude-result-prefixes="util gslib gsf">
    88 
Note: See TracChangeset for help on using the changeset viewer.