Bug 53497

Summary: fo:character and code point 

Product: Fop - Now in Jira Reporter: Roche <webmaster>
Component: generalAssignee: fop-dev
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

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