Ignore:
Timestamp:
2010-03-12T14:21:45+13:00 (14 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

File:
1 edited

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) {
Note: See TracChangeset for help on using the changeset viewer.