Changeset 24825 for main/trunk/gli/src


Ignore:
Timestamp:
2011-11-30T15:38:33+13:00 (12 years ago)
Author:
sjm84
Message:

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

File:
1 edited

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