-
Summary:
CheckIn:Fix
bugzilla bug 166009 The XPath such as /address[@type='business'] doesn't work
in column mapping in XML dataset[0701] in 2.1.2 branch.
- Bugzilla Bug (s) Resolved:
[166009] The XPath such as /address[@type='business'] doesn't work in
column mapping in XML dataset[0701] in 2.1.2 branch
-
Description:
Add new
algorithm to flat file driver, so that it is now behavior as followed:
1.
Filters defined in column mapping are now worked on column level rather
than row level. It would not come to be row filter anymore.
2.
If a filter is defined for a
column, we will search all the elements that match the column mapping. Before
this check in is made, we only search first element that matches the column
mapping.
3.
We currently still do not support
filter on table mapping. We will support it in future.
4.
We currently only support one
filter for each column mapping, and we plan to support multiple filter for each
column mapping in future.
- Tests Description:
Unit test.
- Files Edited:
"/org.eclipse.birt.report.data.oda.xml.ui/src/org/eclipse/birt/report/data/oda/xml/ui/wizards/ColumnMappingPage.java"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtilTest.java"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/util/ui/XPathPopulationUtilTest.java"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/test/util/TestConstants.java"
"/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/SaxParserConsumer.java"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/util/SaxParserTest.java"
"/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/RelationInformation.java"
"/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/impl/ResultSetMetaData.java"
"/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/SaxParserUtil.java"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/QueryTest.java"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/ConnectionTest.java"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/ResultSetTest.java"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/BaseTest.java"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/RelationInformationTest.java"
"/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/UtilConstants.java"
- Files Added:
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/input/test.xml"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/golden/SaxParserTest.test13.txt"
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/golden/SaxParserTest.test14.txt"
- Notes to Build Team:
N/A
- Notes to Developers:
N/A
- Notes to QA:
N/A
- Notes to Documentation:
N/A