The following issue has been updated:
Updater: Olivier Mengu? (mailto:[EMAIL PROTECTED])
Date: Fri, 9 Apr 2004 8:58 PM
Comment:
Patch to apply to JDepend 2.6.
Changes:
Attachment changed to xml-utf8.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPXDOC-16&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPXDOC-16
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPXDOC-16
Summary: invalid XML in generated file target/jdepend-raw-report.xml
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-xdoc-plugin
Assignee:
Reporter: Olivier Mengu?
Created: Sun, 16 Nov 2003 3:25 PM
Updated: Fri, 9 Apr 2004 8:58 PM
Environment: WinXP French, JDK 1.4.1_01-b01
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<-----
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]