Changeset 25872
- Timestamp:
- 2012-06-28T14:54:12+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java
r25848 r25872 584 584 try 585 585 { 586 libraryXsl = getDoc(this.get LibraryXSLFilename());586 libraryXsl = getDoc(this.getGSLibXSLFilename()); 587 587 String errMsg = ((XMLConverter.ParseErrorHandler) parser.getErrorHandler()).getErrorMessage(); 588 588 if (errMsg != null) 589 589 { 590 return XMLTransformer.constructErrorXHTMLPage("Error loading xslt file: " + this.get LibraryXSLFilename() + "\n" + errMsg);590 return XMLTransformer.constructErrorXHTMLPage("Error loading xslt file: " + this.getGSLibXSLFilename() + "\n" + errMsg); 591 591 } 592 592 } … … 598 598 { 599 599 e.printStackTrace(); 600 System.out.println("error loading libraryxslt");601 return XMLTransformer.constructErrorXHTMLPage("error loading libraryxslt\n" + e.getMessage());600 System.out.println("error loading gslib xslt"); 601 return XMLTransformer.constructErrorXHTMLPage("error loading gslib xslt\n" + e.getMessage()); 602 602 } 603 603 … … 973 973 } 974 974 975 // returns the library.xsl path of the libraryfile that is applicable for the current interface976 protected String get LibraryXSLFilename()977 { 978 return GSFile.xmlTransformDir(GSFile.interfaceHome(GlobalProperties.getGSDL3Home(), (String) this.config_params.get(GSConstants.INTERFACE_NAME))) + File.separatorChar + " library.xsl";975 // returns the path to the gslib.xsl file that is applicable for the current interface 976 protected String getGSLibXSLFilename() 977 { 978 return GSFile.xmlTransformDir(GSFile.interfaceHome(GlobalProperties.getGSDL3Home(), (String) this.config_params.get(GSConstants.INTERFACE_NAME))) + File.separatorChar + "gslib.xsl"; 979 979 } 980 980
Note:
See TracChangeset
for help on using the changeset viewer.