IReports 2.0.4 pluging warning Attribute Deprecated Issues

0

Hi,

I am having these issues below, what is the practices to fix these issues? or could you provide a example to update the .jrxml file on <pen> tag to fix the parse error.

Mar 11, 2019 9:20:42 PM net.sf.jasperreports.engine.xml.JRBoxFactory setBoxAttributes
WARNING: The 'topBorder' attribute is deprecated. Use the <pen> tag instead.
Mar 11, 2019 9:20:42 PM net.sf.jasperreports.engine.xml.JRBoxFactory setBoxAttributes
WARNING: The 'topBorderColor' attribute is deprecated. Use the <pen> tag instead.
Mar 11, 2019 9:20:42 PM net.sf.jasperreports.engine.xml.JRBoxFactory setBoxAttributes
WARNING: The 'leftBorder' attribute is deprecated. Use the <pen> tag instead.
Mar 11, 2019 9:20:42 PM net.sf.jasperreports.engine.xml.JRBoxFactory setBoxAttributes
WARNING: The 'leftBorderColor' attribute is deprecated. Use the <pen> tag instead.
Mar 11, 2019 9:20:42 PM net.sf.jasperreports.engine.xml.JRBoxFactory setBoxAttributes
WARNING: The 'bottomBorder' attribute is deprecated. Use the <pen> tag instead.
Mar 11, 2019 9:20:42 PM net.sf.jasperreports.engine.xml.JRBoxFactory setBoxAttributes
WARNING: The 'bottomBorderColor' attribute is deprecated. Use the <pen> tag instead.
Mar 11, 2019 9:20:42 PM net.sf.jasperreports.engine.xml.JRBoxFactory setBoxAttributes
WARNING: The 'rightBorder' attribute is deprecated. Use the <pen> tag instead.
Mar 11, 2019 9:20:42 PM net.sf.jasperreports.engine.xml.JRBoxFactory setBoxAttributes
WARNING: The 'rightBorderColor' attribute is deprecated. Use the <pen> tag instead.
Mar 11, 2019 9:20:42 PM net.sf.jasperreports.engine.xml.JRBoxFactory setBoxAttributes
WARNING: The 'topBorder' attribute is deprecated. Use the <pen> tag instead.
Mar 11, 2019 9:20:42 PM net.sf.jasperreports.engine.xml.JRBoxFactory setBoxAttributes
WARNING: The 'topBorderColor' attribute is deprecated. Use the <pen> tag instead.

Thx,

Pilar

 

pbrst2020's picture
Joined: Mar 14 2019 - 4:05pm
Last seen: 2 days 14 hours ago

1 Answer:

0

As the message says, replace all occurances of "xxxBorder" by using "pen" elements. Since iReports is no longer being developed and there's no support on it for several years now, recommend that you switch to Jaspersoft Studio.

hozawa's picture
39277
Joined: Apr 24 2010 - 4:31pm
Last seen: 2 hours 2 min ago
Feedback
randomness