raphy Posted August 31, 2006 Share Posted August 31, 2006 Hello,When I compile with this line "JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign) ;" the content of jrxml seems to be very strange and then I have received this error message "Content is not allowed in prolog.".Please help me I am new to Jasper.Thanks for you all.RaphyPost edited by: raphy, at: 2006/08/31 15:36 Link to comment Share on other sites More sharing options...
Alexander Merz Posted August 31, 2006 Share Posted August 31, 2006 Make sure that there is no space or blank line before <?xml version="1.0" encoding="UTF-8" ?> And there should be no space or Non-XML-data after the line and before the <jasperReport>-tag. 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