Bug 121323 XML Edit Data Set dialog does not persist filter information
If one enters an XPath expression for the column mapping with a selection part like section[@id='left'] then within class RelationInformation the selection is stripped of and stored in filterInfo HashMap. When leaving the dialog, RelationInformation gets persited to .rptdesign - but data stored in filterInfo is lost. However - IMHO treating XPath expressions in that way will lead to a lot of trouble. Why can't we use the plain XPath expression (of course prepended with the path from the data set selector itself) and let filtering be something for those which need it? Kind regards, Herbert
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/RelationInformation.java
/*******************************************************************************
 * Copyright (c) 2004, 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http:www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.data.oda.xml.util;
import java.util.ArrayList;
import java.util.HashMap;
import org.eclipse.birt.report.data.oda.xml.DataTypes;
import org.eclipse.datatools.connectivity.oda.OdaException;
/**
 * This class is used to dealing with the strings which are parsed as arguments to 
 * create an XML data source connection.The structure of string must follow the given rule:
 * TableName1:[TableRootPath]:{columnName1;Type;RelativeXPath},{columnName2;Type;RelativeXPath}...
 * #-#TableName2:[TableRootPath]:{columnName1;Type;RelativeXpath}.....
 * 
 */
public class RelationInformation