Ignore:
Timestamp:
01/13/11 23:32:28 (13 years ago)
Author:
gaba
Message:

77,78,81,82

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/Cache.java

    r1029 r1069  
    141141                }
    142142                if (key_array.length > 4){
    143                         e.setAttribute("startRecord", key_array[4]);
    144                 }else{
    145                         e.setAttribute("startRecord", "");
     143                        e.setAttribute("startItem", key_array[4]);
     144                }else{
     145                        e.setAttribute("startItem", "");
    146146                }
    147147                if (key_array.length > 5){
    148                         e.setAttribute("maximumRecords", key_array[5]);
    149                 }else{
    150                         e.setAttribute("maximumRecords", "");
     148                        e.setAttribute("maximumItems", key_array[5]);
     149                }else{
     150                        e.setAttribute("maximumItems", "");
    151151                }
    152152               
     
    273273                }
    274274                if (key_array.length > 4){
    275                         xpath_expr = xpath_expr + "and @startRecord='"+key_array[4]+"'";
    276                 }else{
    277                         xpath_expr = xpath_expr + " and @startRecord=''";
     275                        xpath_expr = xpath_expr + "and @startItem='"+key_array[4]+"'";
     276                }else{
     277                        xpath_expr = xpath_expr + " and @startItem=''";
    278278                }
    279279                if (key_array.length > 5){
    280                         xpath_expr = xpath_expr + "and @maximumRecords='"+key_array[5]+"'";
    281                 }else{
    282                         xpath_expr = xpath_expr + " and @maximumRecords=''";
     280                        xpath_expr = xpath_expr + "and @maximumItems='"+key_array[5]+"'";
     281                }else{
     282                        xpath_expr = xpath_expr + " and @maximumItems=''";
    283283                }
    284284               
Note: See TracChangeset for help on using the changeset viewer.