"Bericht1" of type NMTOKEN must be a name token.

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

I've downloaded iReport-1.2.5-windows-installer.exe and installed.

When I try to run a first simple report as in first example (only a tilte) i get the following compiler error.

Compiling to file... .\Unbenannter Bericht1.jasper ->
S:\JasperSoft\iReport-1.2.5\Unbenannter Bericht1.java
Errors compiling .\Unbenannter Bericht1.jasper!
it.businesslogic.ireport.ReportClassLoader@e9927a 0 [Thread-3]
ERROR digester.Digester - Parse Error at line 19 column 29:
Attribute value "Unbenannter Bericht1" of type NMTOKEN must be a name token.

whats wrong?
uwewill's picture
18
Joined: Aug 7 2006 - 8:20pm
Last seen: 15 years 11 months ago

2 Answers:

Try it with a Report Name without blanks (Leerzeichen).
JulEgner's picture
694
Joined: Aug 3 2006 - 10:59pm
Last seen: 15 years 11 months ago
Thanks a lot JulEgner
that hint was the solution.
when starting the german version the default name of the report is "unbekannter bericht1". And the compiler can not deal with that. The compiler accepts no spaces in report names.
Now it works properly as far i made the first tests and it generates correct html files.

May be in future releases they can change the default report names to "bericht1" or something else with no spaces.
uwewill's picture
18
Joined: Aug 7 2006 - 8:20pm
Last seen: 15 years 11 months ago
Feedback
randomness