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/09/27 12:55:08 UTC
[jira] Commented: (MAVEN-610) Unicode entities from projext.xml are not shown in generated site in HTML or even in XML
The following comment has been added to this issue:
Author: Norbert Pabis
Created: Sat, 27 Sep 2003 5:54 AM
Body:
I have resolved problem with entities.
When reading files SAX parser expands entities. Reading entities is not a problem. The problem is writing.
Reading a file in any encoding results in all strings in Unicode which is Java's internal encoding.
When writing files in maven.docs.outputencoding all these strings have to be encoded and here problems appear.
For example a copyright entity from site.jsl in xdocs plugin in is read correctly and expanded into specific Unicode character.
If output encoding is ISO-8859-1 copyright character can be written correctly,
but if it is not latin1 then there is no such character, and instead of copyright mark, "?" is written.
To avoid this, output encoding should be set to UTF-8 that can represent any character.
The problem is persistent, unless you use UTF-8 as output encoding or have
SAX parsers skip entities expanding.
IMHO this issue could be explained in FAQ, and this bug can be resolved as invalid as soon as http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-382 is fixed.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-610
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-610
Summary: Unicode entities from projext.xml are not shown in generated site in HTML or even in XML
Type: Bug
Status: Unassigned
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin-xdoc
Fix Fors:
1.1
Versions:
1.0-beta-10
Assignee:
Reporter: Norbert Pabis
Created: Fri, 25 Jul 2003 2:42 AM
Updated: Mon, 4 Aug 2003 10:18 AM
Environment: JDK 1.4.2, Linux 2.4.17, Debian Unstable
Description:
Unicode entities from projext.xml are not shown in generated site in HTML or even in XML.
For example if there is a developer "name with letter ś",
in project.xml then in generated xml i html his named
"name with letter ?".
project.xml encoding does not matter here.
Setting any encoding e.g. ISO-8859-2, does not work either.
---------------------------------------------------------------------
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