Changeset 24825 for main/trunk/gli

Show
Ignore:
Timestamp:
30.11.2011 15:38:33 (8 years ago)
Author:
sjm84
Message:

GLI was still breaking the <, > and & entities in the collectionConfig.xml files, now it doesn't

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/util/XMLTools.java

    r24804 r24825  
    984984            if (e.getNodeValue() != "") 
    985985            { 
    986                 sb.append(e.getNodeValue()); 
     986                sb.append(e.getNodeValue().replaceAll("&", "&amp;").replaceAll("<", "&lt;").replace(">", "&gt;")); 
    987987            } 
    988988            return;