- Timestamp:
- 01/13/11 23:32:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/Cache.java
r1029 r1069 141 141 } 142 142 if (key_array.length > 4){ 143 e.setAttribute("start Record", key_array[4]);144 }else{ 145 e.setAttribute("start Record", "");143 e.setAttribute("startItem", key_array[4]); 144 }else{ 145 e.setAttribute("startItem", ""); 146 146 } 147 147 if (key_array.length > 5){ 148 e.setAttribute("maximum Records", key_array[5]);149 }else{ 150 e.setAttribute("maximum Records", "");148 e.setAttribute("maximumItems", key_array[5]); 149 }else{ 150 e.setAttribute("maximumItems", ""); 151 151 } 152 152 … … 273 273 } 274 274 if (key_array.length > 4){ 275 xpath_expr = xpath_expr + "and @start Record='"+key_array[4]+"'";276 }else{ 277 xpath_expr = xpath_expr + " and @start Record=''";275 xpath_expr = xpath_expr + "and @startItem='"+key_array[4]+"'"; 276 }else{ 277 xpath_expr = xpath_expr + " and @startItem=''"; 278 278 } 279 279 if (key_array.length > 5){ 280 xpath_expr = xpath_expr + "and @maximum Records='"+key_array[5]+"'";281 }else{ 282 xpath_expr = xpath_expr + " and @maximum Records=''";280 xpath_expr = xpath_expr + "and @maximumItems='"+key_array[5]+"'"; 281 }else{ 282 xpath_expr = xpath_expr + " and @maximumItems=''"; 283 283 } 284 284
Note: See TracChangeset
for help on using the changeset viewer.