Changeset 21924


Ignore:
Timestamp:
2010-04-20T15:36:49+12:00 (11 years ago)
Author:
ak19
Message:

The collection name or FedoraGS3 should not be prepended to the from location of the classifier browse and browse metaretrieve response XMLs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/gs3-webservices-java-client/trunk/src/GS3Fedora/org/greenstone/fedora/services/FedoraGS3Connection.java

    r21864 r21924  
    11231123        Element response = doc.createElement(GSXML.RESPONSE_ELEM);
    11241124        // from = "FedoraGS3"
    1125         Attr attribute = doc.createAttribute(GSXML.FROM_ATT);
    1126         String from = originator.equals("") ? FEDORA_GS3
    1127                 : FEDORA_GS3+"/"+originator;
    1128        
    1129         attribute.setValue(from);
     1125        Attr attribute = doc.createAttribute(GSXML.FROM_ATT);       
     1126        attribute.setValue(originator);
    11301127        response.setAttributeNode(attribute);
    11311128       
     
    17961793    }
    17971794        Element responseMsg = createResponseMessage(doc, classifierNodeList, ex,
    1798                 GSXML.REQUEST_TYPE_DESCRIBE, collectionName+"/ClassifierBrowse");
     1795                    GSXML.REQUEST_TYPE_DESCRIBE, /*collectionName+*/"/ClassifierBrowse");
    17991796        try{
    18001797            return FedoraCommons.elementToFormattedString(responseMsg);
Note: See TracChangeset for help on using the changeset viewer.