Bug 53497 - fo:character and code point 

Summary: fo:character and code point 

Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: 1.0
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-02 20:40 UTC by Roche
Modified: 2012-07-03 07:42 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roche 2012-07-02 20:40:23 UTC
With FOP 1.0, the snippet code :

<fo:block font-family="Arial, DejaVu Sans" linefeed-treatment="preserve">
  3. Un caractère nouvelle ligne <fo:character character="&#x000A;"/>.
</fo:block>

is formatted in :

3. Un caractère nouvelle ligne#.

The specification xsl fo say about the attribut linefeed-treatment and her value preserve (http://www.w3.org/TR/xsl/#linefeed-treatment) :

7.16.7 "linefeed-treatment"
...
preserve
    Specifies no special action.

I must have the result : 

3. Un caractère nouvelle ligne .

Pascal Sancho see too :
There is something wrong in FOP regarding the fo:character.
This is reproduced with FOP dev version.
Comment 1 Pascal Sancho 2012-07-03 07:42:49 UTC
This issue stated in discussion on FOP-Users list:
http://apache-fop.1065347.n5.nabble.com/linefeed-treatment-quot-preserve-quot-td36204.html