Changeset 8372


Ignore:
Timestamp:
2004-10-19T10:28:12+13:00 (20 years ago)
Author:
mdewsnip
Message:

Changed a warning statement to go to the DebugStream.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/metadata/DocXMLFile.java

    r8342 r8372  
    196196        // This line doesn't contain a Metadata element, so we're not interested
    197197        if (line.indexOf("<Metadata ") == -1) {
    198             System.err.println("Parse error: Description element line doesn't contain Metadata element.");
     198            DebugStream.println("Warning: Description element line doesn't contain Metadata element.");
    199199            continue;
    200200        }
     
    250250        }
    251251
    252         // We completely ignore bibliographic data
    253         if (metadata_element_name.equals("SourceSegment")) {
    254             // !!! source_file_name_to_description_elements_mapping.remove(gsdlsourcefilename_value);
    255         }
    256 
    257252        // Ignore lower-case metadata elements (gsdlsourcefilename, gsdlassocfile etc.)
    258253        //   and those starting with '/' (/srclink)
Note: See TracChangeset for help on using the changeset viewer.