Changeset 18553

Show
Ignore:
Timestamp:
19.02.2009 22:08:01 (11 years ago)
Author:
max
Message:

Change back the way all postProcessing works in order to have GSLib elements inside GSF statements, in fact a solution has been found to make this possible.

Files:
1 modified

Legend:

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

    r18473 r18553  
    211211            return page; 
    212212        } 
    213         /* 
     213         
     214         
    214215        // put the page into a document - this is necessary for xslt to get 
    215216        // the paths right if you have paths relative to the document root 
     
    256257                logger.error(" couldn't parse the config_format stylesheet, adding the format info as is"); 
    257258                GSXSLT.mergeStylesheets(style_doc, format_elem); 
    258             //  GSXSLT.mergeStylesheets(oldStyle_doc, format_elem); 
     259                //GSXSLT.mergeStylesheets(oldStyle_doc, format_elem); 
    259260            } 
    260261            logger.debug("the converted stylesheet is:"); 
    261262            logger.debug(this.converter.getPrettyString(style_doc.getDocumentElement())); 
    262263        } 
    263         */ 
     264         
    264265        //for debug purposes only 
    265266        Document oldStyle_doc = style_doc; 
     
    346347            return XMLTransformer.constructErrorXHTMLPage(e.getMessage()) ; 
    347348        } 
    348      
    349             // put the page into a document - this is necessary for xslt to get 
     349         
     350        //The following code is to be uncommented if we need to append the extracted GSF statements 
     351        //after having extracted the GSLib elements. In case of a problem during postprocessing. 
     352    /* 
     353        // put the page into a document - this is necessary for xslt to get 
    350354        // the paths right if you have paths relative to the document root 
    351355        // eg /page. 
     
    396400            logger.debug(this.converter.getPrettyString(skinAndLibraryDoc.getDocumentElement())); 
    397401        } 
     402    */ 
    398403     
    399404    // there is a thing called a URIResolver which you can set for a 
     
    462467        //System.out.println(converter.getPrettyString(docWithDoctype)); 
    463468        //System.out.println("Doctype vals: " + qualifiedName + " " + publicID + " " + systemID) ; 
     469         
    464470         
    465471        //System.out.println("Generate final HTML from current skin") ;