Changeset 18377

Show
Ignore:
Timestamp:
14.01.2009 13:35:41 (10 years ago)
Author:
ak19
Message:

Useful debugging statement, left commented out. Can be used to look at the XML sent in to fix any outstanding issues with the recent changes to XML parsing.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/util/XMLTools.java

    r18194 r18377  
    436436        // the XML and present these lines separately to the user 
    437437        if(!DebugStream.isDebuggingEnabled()) { 
    438             try { 
     438        try { 
    439439                reader = new BufferedReader( new RemoveContentBeforeRootElementXMLReader(xml_reader) ); 
    440440            } catch ( Exception e ) { 
     
    465465            // we need a Reader to parse the same contents as the Reader that was just closed 
    466466            reader = new BufferedReader(new StringReader(xmlContents)); 
     467        //System.err.println("xmlContents:\n" + xmlContents); 
    467468        } 
    468469