Changeset 13278

Show
Ignore:
Timestamp:
15.11.2006 16:37:08 (13 years ago)
Author:
mdewsnip
Message:

Considered trying to disable the value trees for faster loading, but skimFile() is vital for too many important reasons. Extended the comments to explain this a bit more.

Files:
1 modified

Legend:

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

    r12713 r13278  
    502502 
    503503    /** 
    504      * Every metadata.xml file must be skimmed when a collection is opened, for two reasons: 
    505      *   - To build complete and accurate metadata value trees (needed for Enrich pane and hierarchy files) 
    506      *   - To handle any non-namespaced metadata in the file 
     504     * Every metadata.xml file must be skimmed when a collection is opened, for three very important reasons: 
     505     *   - To handle any non-namespaced metadata in the metadata.xml files (this is mapped and the files rewritten) 
     506     *   - To get a complete list of the metadata elements in the collection (used in Design and Format panes) 
     507     *   - To build complete and accurate metadata value trees (used in the Enrich pane) 
    507508     */ 
    508509    public void skimFile()