LOGGER.finer("Parsing ogc:Filter....");
filter.setRootClause(new LogicalAnd());
LogicalClause rootClause = filter.getRootClause();
this.parseLogicalClause(filterNode,xpath,rootClause);
if (rootClause.getClauses().size() == 1) {
DiscoveryClause onlySubClause = rootClause.getClauses().get(0);
if (onlySubClause instanceof LogicalClause) {
LogicalClause onlyLogicalSubClause = (LogicalClause) onlySubClause;
filter.setRootClause(onlyLogicalSubClause);
}
}