Changeset 21777 for main/branches

Show
Ignore:
Timestamp:
12.03.2010 14:21:45 (10 years ago)
Author:
xiao
Message:

migrant changes Kathy made on the main-trunk copy to the copy of 3.04flax1.0, which fixed the un-wellformness of returned documents in xml form when browsing/searching in the library

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/branches/3.04flax1.0/greenstone3/src/java/org/greenstone/gsdl3/service/GS2MGPPRetrieve.java

    r16355 r21777  
    109109                doc_content = resolveTextMacros(doc_content, doc_id, lang); 
    110110            } 
     111                // remove the <Doc></Doc> and <Sec></Sec> tags 
     112                //doc_content = doc_content.replace("<Doc>", "").replace("</Doc>", "").replace("<Sec>", "").replace("</Sec>", ""); 
     113                doc_content = doc_content.replaceAll("</?(Doc|Sec)>", ""); 
    111114             
    112115        } catch (Exception e) {