Changeset 25642 for main/trunk


Ignore:
Timestamp:
2012-05-23T15:38:26+12:00 (12 years ago)
Author:
sjm84
Message:

A few minor changes to DocumentAction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/DocumentAction.java

    r25635 r25642  
    122122        if (document_type == null || document_type.equals(""))
    123123        {
    124             document_type = "simple";
     124            document_type = "hierarchy";
    125125        }
    126126        //whether to retrieve siblings or not
     
    474474            dc_request.appendChild(basic_doc_list);
    475475        }
    476         logger.debug("request = " + converter.getString(dc_message));
     476        logger.debug("request = " + XMLConverter.getString(dc_message));
    477477        Element dc_response_message = (Element) this.mr.process(dc_message);
    478478        if (processErrorElements(dc_response_message, page_response))
     
    482482
    483483        Element dc_response_doc_list = (Element) GSXML.getNodeByPath(dc_response_message, path);
    484 
     484       
    485485        if (expand_document)
    486486        {
     
    507507            Element dc_response_doc_content = (Element) GSXML.getChildByTagName(dc_response_doc, GSXML.NODE_CONTENT_ELEM);
    508508            //Element dc_response_doc_external = (Element) GSXML.getChildByTagName(dc_response_doc, "external");
    509 
     509           
    510510            if (dc_response_doc_content == null)
    511511            {
Note: See TracChangeset for help on using the changeset viewer.