Changeset 3935


Ignore:
Timestamp:
04/16/08 21:48:39 (12 years ago)
Author:
melissa
Message:

If an XML TIFF comment is found, do not place it in the metadata hashtable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/BaseTiffReader.java

    r3906 r3935  
    542542    // TIFF comment 
    543543    String comment = TiffTools.getComment(ifd); 
    544     if (comment != null) { 
     544    if (comment != null && !comment.startsWith("<?xml")) { 
    545545      // sanitize comment 
    546546      comment = comment.replaceAll("\r\n", "\n"); // CR-LF to LF 
Note: See TracChangeset for help on using the changeset viewer.