DaDommy79 Posted December 7, 2007 Share Posted December 7, 2007 Hi @all, when i try to compile my report using: Code:<staticText> <reportElement x="9" y="152" width="538" height="29" key="staticText-127"/> <textElement verticalAlignment="Top" isStyledText="true"> <font fontName="Arial" pdfFontName="Helvetica-Oblique" isItalic="true"/> </textElement> <text><![CDATA[shipment is incomplete or damage;Temperature logger shows temperature deviation. <style isItalic="false" pdfFontName="Helvetica">Please inform ... immediately!</style>]]></text> </staticText> I get the error: The Report Server was unable to compile the report you provided. Please verify that the report file compiles in your authoring environment, and try again. The exception provided by the compiler is: Unable to compile new report. Attribute "isStyledText" must be declared for element type "textElement". Someone knows this issue, or I´m to blind to see what´s wrong... Kind RegardsThomas Link to comment Share on other sites More sharing options...
teodord Posted December 14, 2007 Share Posted December 14, 2007 Hi, Instead of telling us you have a problem with an older version, you should have simply indicate which version of JR are we talking about and what version of report designer you are using to create the reports.It appears we are talking about a version prior to JR 0.5.3, when support for styled text was introduced. If you use such old versions of JR, then you should edit the reports either manually or using visual designers that are of a similar age, to make sure you do not make use of attributes and tags that were introduced later on. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now