| Summary: | Error: <unused> is not recognized! | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Peng Li <peng.li3> | ||||
| Component: | BIRT | Assignee: | Birt-ReportDesigner <Birt-ReportDesigner-inbox> | ||||
| Status: | RESOLVED INVALID | QA Contact: | Xiaoying Gu <bluesoldier> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | bluesoldier, jouyang | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.7.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | Obsolete | ||||||
| Attachments: |
|
||||||
|
Description
Peng Li
>because i use scripted data set handler to generate the report at run time, so
>the birt preview does not help so much due to missing sources like images at
>run time.
Do you mean the report can be rendered as pdf correctly but there is still an error message logged in the console? And you are expecting the viewer can pop up more detailed error message which can indicate the wrong element?
(In reply to comment #1) > >because i use scripted data set handler to generate the report at run time, so > >the birt preview does not help so much due to missing sources like images at > >run time. > > Do you mean the report can be rendered as pdf correctly but there is still an > error message logged in the console? And you are expecting the viewer can pop > up more detailed error message which can indicate the wrong element? To the first question: Yes, the error message was still shown regardless the correctly generated pdf report. To the second question: I mean if there were a <unused> tag in the design file, the viewer would show more information about the wrong element, but it was not the case. there was no any such element in the design xml file. Also i could not find in the source files where these error message were used. (In reply to comment #2) > (In reply to comment #1) > > >because i use scripted data set handler to generate the report at run time, so > > >the birt preview does not help so much due to missing sources like images at > > >run time. > > > > Do you mean the report can be rendered as pdf correctly but there is still an > > error message logged in the console? And you are expecting the viewer can pop > > up more detailed error message which can indicate the wrong element? > > To the first question: Yes, the error message was still shown regardless the > correctly generated pdf report. > > To the second question: I mean if there were a <unused> tag in the design file, > the viewer would show more information about the wrong element, but it was not > the case. there was no any such element in the design xml file. Also i could > not find in the source files where these error message were used. Would you please attach the report design for us to investigate? Created attachment 184100 [details] Design file causes Bug 331345 by using the design file an error message related to "<unused> tag" is shown regardless the correctly generated pdf report. There should be an invalid tag in the dynamic text. (In reply to comment #5) > There should be an invalid tag in the dynamic text. Could you please tell me the location of the invalid tag? (In reply to comment #6) > (In reply to comment #5) > > There should be an invalid tag in the dynamic text. > > Could you please tell me the location of the invalid tag? Since I don't can not access the data source and library that used in this report, could you please help to narrow down the root cause at your side, for example: try to remove some elements on the report to identify which one goes wrong? Peng, Please locate the the text element which causes the error and try to print out the raw text of the element. There is a <unused> tag in some html text item. Please notice this is an invalid html tag which is not supported by HTML TEXT. Not a bug. (In reply to comment #10) > Not a bug. can finally find out the cause. It was my mistake. Thanks for your support. Regards |