Changeset 26134

Show
Ignore:
Timestamp:
28.08.2012 12:53:06 (7 years ago)
Author:
ak19
Message:

Kathy explained that the Metadata fields (creator, maintainer and public) of a collectionConfig.xml should not have language attributes, as that's what displayItems are for. The lang attributes for the Metadata elements seem to have crept in at some point and were in the modelcol's collectionConfig.xml since at last 3 years ago, according to SVN. They lang attributes for these metadata have now been removed from the modelcol collectionConfig file and basic testing shows searching and browsing a new collection with the modified fields still works.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/collect/modelcol/etc/collectionConfig.xml

    r26099 r26134  
    22<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    33    <metadataList> 
    4         <metadata lang="en" name="creator">**creator**</metadata> 
    5         <metadata lang="en" name="maintainer">**maintainer**</metadata> 
    6         <metadata lang="en" name="public">**public**</metadata> 
     4        <metadata name="creator">**creator**</metadata> 
     5        <metadata name="maintainer">**maintainer**</metadata> 
     6        <metadata name="public">**public**</metadata> 
    77    </metadataList> 
    88    <displayItemList>