Ignore:
Timestamp:
2003-11-18T15:32:46+13:00 (21 years ago)
Author:
jmt12
Message:

Introduced two new codec transforms to correctly handle path information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/valuetree/GValueNode.java

    r5805 r5877  
    192192    }
    193193    if(as_text) {
    194         return Codec.transform(path.toString(), Codec.GREENSTONE_TO_TEXT);
     194        String temp = Codec.transform(path.toString(), Codec.GREENSTONE_TO_TEXT);
     195        return Codec.transform(temp, Codec.DECODE_PATH);
    195196    }
    196197    else {
     
    339340    if(name.equals("Subject")) {
    340341       result = MSMUtils.getValue(element);
     342       result = Codec.transform(result, Codec.DECODE_PATH);
    341343       switch(decode_type) {
    342344          case GValueNode.GREENSTONE:
Note: See TracChangeset for help on using the changeset viewer.