Resolved ‘uuid’ is not allowed in element when open jrxml in iReport

Sometimes when using iReport in windows, the jrxml cannot be opened because of ‘uuid’ is not allowed in element.

The most simple things you can do is to open the jrxml in text editor that support regular expression replacement, find this regex


uuid="[^"]*"  

or


uuid="\w*-\w*-\w*-\w*-\w*" 

then replace it with blank string.

replace uuid

That’s it now try to open the jrxml again with iReport

Or i just find out that iReport XML editor support regular expression replacement, just click the XML button after error message and Ctrl+H to open Replace Dialog.

jasper uuid replace

enjoy

Published by indradhi

coding + sharing = influence

Leave a comment