You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/11/16 22:27:12 UTC
[jira] Created: (MAVEN-1039) invalid XML in generated file target/jdepend-raw-report.xml
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1039
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1039
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
Components:
plugin-xdoc
Versions:
1.0-rc1
Assignee:
Reporter: Olivier Mengué
Created: Sun, 16 Nov 2003 3:25 PM
Updated: Sun, 16 Nov 2003 3:25 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org