Changeset 26513 for main

Show
Ignore:
Timestamp:
23.11.2012 18:39:51 (7 years ago)
Author:
ak19
Message:

Adding in original error message when a transformation of in-memory xml and xslt files fails, on Dr Bainbridge's request

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/XMLTransformer.java

    r26494 r26513  
    677677            if (debugAsFile) 
    678678            { 
     679                System.err.println("\n****Original error transforming xml:\n" + this.errorMessage + "\n****\n");  
     680                System.err.println("***** About to perform the transform again with actual files\n******\n"); 
     681                logger.error("Original transformation error: " + this.errorMessage); 
     682                logger.error("**** About to perform transform again with actual files"); 
     683 
    679684 
    680685                performTransformWithPhysicalFiles(); // will give accurate line numbers