Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:WinXP French, JDK 1.4.1_01-b01
-
Number of attachments :
Description
The generated file "target/jdepend-raw-report.xml" is not valid XML if a Java source file has a name with non-ASCII characters such as "src/Randonn?e.java". It seems that the content is encoded with the default code page (Windows-1252) instead of UTF-8 (default for XML) without the appropriate XML header.
As this file is regenerated at every run, the XML can not be manually corrected as a temporary workaround.
The Java language and VM supports source files, class files and classes with Unicode characters outside the ASCII range such as '?'.
Log below (paths have been replaced with %PROJECT% and %HOME%).
----8<---8<---8<---8<---8<---8<---8<----
%PROJECT%>maven site:generate
__ __
| \/ | __ Apache_ ___ | |||||
| \/ | / ` \ V / -) ' \ ~ intelligent projects ~ | |||||
| _ | _,_ | _/___ | _ | _ | v. 1.0-rc1-SNAPSHOT |
|---|
site:
xdoc:register-reports:
maven-jdepend-plugin:register:
maven-checkstyle-plugin:register:
maven-changes-plugin:register:
maven-changelog-plugin:register:
maven-developer-activity-plugin:register:
maven-file-activity-plugin:register:
maven-license-plugin:register:
maven-javadoc-plugin:register:
maven-jxr-plugin:register:
maven-junit-report-plugin:register:
maven-linkcheck-plugin:register:
maven-tasklist-plugin:register:
site:run-reports:
[echo] Generating the Metrics...
maven-jdepend-plugin:report:
java:prepare-filesystem:
java:compile:
[echo] Compiling to %PROJECT%/target/classes
BUILD FAILED
File...... file:/%HOME%/.maven/plugins/maven-xdoc-plugin-1.4/
Element... x:parse
Line...... 101
Column.... 46
Invalid byte 2 of 3-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 3-b
yte UTF-8 sequence.
Total time: 5 seconds
Finished at: Sun Nov 16 21:34:29 CET 2003
----8<---8<---8<---8<---8<---8<---8<----
As JIRA also doesn't seem to support non-ASCII chars, I have to add this comment: the '?' char is the bug report was an 'e' acute.