Revision 4698
Added by daigle over 15 years ago
QuerySpecification.java | ||
---|---|---|
36 | 36 |
import java.util.Stack; |
37 | 37 |
import java.util.Vector; |
38 | 38 |
|
39 |
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
|
|
39 |
import edu.ucsb.nceas.metacat.util.MetacatUtil;
|
|
40 | 40 |
|
41 | 41 |
import org.apache.log4j.Logger; |
42 | 42 |
import org.xml.sax.Attributes; |
... | ... | |
629 | 629 |
queryTitle = textBuffer.toString().trim(); |
630 | 630 |
} else if (leaving.getTagName().equals("value")) { |
631 | 631 |
currentValue = textBuffer.toString().trim(); |
632 |
currentValue = MetaCatUtil.normalize(currentValue);
|
|
632 |
currentValue = MetacatUtil.normalize(currentValue);
|
|
633 | 633 |
} else if (leaving.getTagName().equals("pathexpr")) { |
634 | 634 |
currentPathexpr = textBuffer.toString().trim(); |
635 | 635 |
} else if (leaving.getTagName().equals("returndoctype")) { |
... | ... | |
645 | 645 |
} |
646 | 646 |
String normalizedXML = textBuffer.toString().trim(); |
647 | 647 |
logMetacat.debug("================before normailze "+normalizedXML); |
648 |
normalizedXML = MetaCatUtil.normalize(normalizedXML);
|
|
648 |
normalizedXML = MetacatUtil.normalize(normalizedXML);
|
|
649 | 649 |
logMetacat.debug("================after normailze "+normalizedXML); |
650 | 650 |
xml.append(normalizedXML); |
651 | 651 |
xml.append("</"); |
... | ... | |
985 | 985 |
{ |
986 | 986 |
elementVector.add(path); |
987 | 987 |
} |
988 |
if(!MetaCatUtil.pathsForIndexing.contains(path)){
|
|
988 |
if(!MetacatUtil.pathsForIndexing.contains(path)){
|
|
989 | 989 |
usePathIndex = false; |
990 | 990 |
} |
991 | 991 |
|
Also available in: Unified diff
Renamed MetaCatUtil to MetacatUtil