represent ProR SpecRelations with BIRT [message #1415864] |
Wed, 03 September 2014 17:24  |
Eclipse User |
|
|
|
Hello community,
is there any idea to represent the spec relations of ProR with BIRT? As known, the SpecRelations are in another sub tree than the Specs itselfes inside the reqif file ( xml formed). I've tried with different approaches without success yet. If it would be possible to have inside the Spec table an additional column containing all the SpecRelations (in comma separated form or so), then a java script could filter by string match. However, I haven't found a function like "getAllRows" in BIRT yet.
Maybe, I'm completely on the wrong tack and it would be necessary to use "Data Cubes" or so.
Any ideas or hints?
|
|
|
|
|
Re: represent ProR SpecRelations with BIRT [message #1418016 is a reply to message #1415864] |
Sat, 06 September 2014 07:05   |
Eclipse User |
|
|
|
I've stopped at the following topic: In the reqif file, empty elements are not contained. For saving disk space it's ok. However, an xpath query like /ATTRIBUTE-VALUE-STRING[3]/@THE-VALUE
don't address the correct element, if another is located before, currently empty and will set. When, the set element becomes the third [3] and the original the fourth [4].
Unfortunately, the BIRT xml data source spec https://www.eclipse.org/birt/release20specs/BPS23-XmlDataSourceSpec.pdf says:
"2. Only the following predicates are recognized:
• A single position predicate in the abbreviated form, e.g., "author[2]".
• A single equality condition based on an attribute value. E.g., "title[@lang='en']".
3. XPath functions are not supported"
If the <ATTRIBUTE-DEFINITION-STRING-REF> would be a attribute instead of an element, the query could match to the unique data type identifier inside the reqif file. A match query for element/text is not supported by BIRT.
Possible solution could be:
a) re-specify the data type as attribute instead of text inside the reqif file
b) support element/text match query in BIRT
c) support further data types like <ATTRIBUTE-DEFINITION-STRING1-REF>, <ATTRIBUTE-DEFINITION-STRING2-REF>, ATTRIBUTE-DEFINITION-BOOLEAN2-REF> etc.
Is this realistic? Any further ideas?
|
|
|
|
Powered by
FUDForum. Page generated in 0.06170 seconds