Re: svn commit: r381409 - in /xmlgraphics/fop/trunk: src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java test/layoutengine/disabled-testcases.xml

2006-02-27 Thread Andreas L Delmelle

On Feb 27, 2006, at 20:02, [EMAIL PROTECTED] wrote:


Author: adelmelle
Date: Mon Feb 27 11:02:39 2006
New Revision: 381409

URL: http://svn.apache.org/viewcvs?rev=381409view=rev
Log:
Activated refinement white-space-handling for fo:title and  
fo:bookmark-title

(treating fo:title the same as fo:bookmark-title
  -- see XSL-FO 1.1 6.11.3 - Trait derivation)


I was a bit unsure about this, since an fo:title can have %inline;  
children...


Right now, if one wants to activate linefeed-preservation in an  
fo:title, this would have to be done like so:


fo:title
  fo:inline
fo:block linefeed-treatment=preserve
...


Cheers,

Andreas



Re: svn commit: r381409 - in /xmlgraphics/fop/trunk: src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java test/layoutengine/disabled-testcases.xml

2006-02-27 Thread Simon Pepping
On Mon, Feb 27, 2006 at 08:15:54PM +0100, Andreas L Delmelle wrote:
 On Feb 27, 2006, at 20:02, [EMAIL PROTECTED] wrote:
 
 Author: adelmelle
 Date: Mon Feb 27 11:02:39 2006
 New Revision: 381409
 
 URL: http://svn.apache.org/viewcvs?rev=381409view=rev
 Log:
 Activated refinement white-space-handling for fo:title and  
 fo:bookmark-title
 (treating fo:title the same as fo:bookmark-title
   -- see XSL-FO 1.1 6.11.3 - Trait derivation)

This makes much sense.

 I was a bit unsure about this, since an fo:title can have %inline;  
 children...
 
 Right now, if one wants to activate linefeed-preservation in an  
 fo:title, this would have to be done like so:
 
 fo:title
   fo:inline
 fo:block linefeed-treatment=preserve
 ...

Hmm, I prefer to think of fo:title as described under
fo:bookmark-title. I like your solution.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl