Changeset 25165

Show
Ignore:
Timestamp:
01.03.2012 12:39:35 (8 years ago)
Author:
kjdon
Message:

when reading in the XML stream, print out any lines before the ?xml tag rather than silently throwing them away. They are probably error messages that we should take note of. Hope this doesn't spew out too much stuff to terminal. I have done this to see error messages from parsing plugins

Files:
1 modified

Legend:

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

    r24825 r25165  
    712712                    xml.append("\n"); 
    713713                } 
     714                else { 
     715                  System.err.println(line); 
     716                } 
    714717            } 
    715718            buffered_in = null;