| Summary: | [XML Data Source Improvements] XML data source does not support parameters yet. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Data Tools | Reporter: | Lin Zhu <lzhu> | ||||
| Component: | Enablement:ODA | Assignee: | Wenjie Tu <wtu> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Tianli Zhang <tzhang> | ||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | borism, hwang, wenfeng.fwd | ||||
| Version: | Ganymede | Keywords: | plan | ||||
| Target Milestone: | 1.7M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | Autoed | ||||||
| Attachments: |
|
||||||
|
Description
Lin Zhu
*** Bug 117009 has been marked as a duplicate of this bug. *** Request to postpone this feature to future releases. The introduction of Property Binding feature for Data Source has resolved most of the uses cases which require the use of XML data set parameters. We will leave this issue open as a placeholder for futher user-identified use cases that Property Binding may not help. A BIRT exception occurred.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Data Engine
Plug-in ID:org.eclipse.birt.data
Version:2.2.2.r22x_v20071212
Error Code:odaconsumer.CannotPrepareStatement
Error Message:Failed to prepare the following query for the data set type org.eclipse.datatools.enablement.oda.xml.dataSet.
[table0#-TNAME-#table0#:#[/TecKomBS/tecajnica[@datum= {?datum?} ]]#:#{datum;DATE;/@datum},{veljavnost;DATE;/@veljavnost}]
The filter definition is invalid.
When should XML data source support parameters.
We will implement the XML parameter support according to the original XML Driver spec. Now user can adjust mapping path dynamically by trying parameter feature.
Say, a mapping path is: /a/b/{?param1?}/c[@attr="{?param2}"], then "param1" & "param2" are two named paramters of the data set and the final mapping path is determined by the values of "param1" & "param2" parameters.
Fixed. Feature testing has been completed, mark as verified. Created attachment 147158 [details]
xml for automation data source
|