title: xsl:fo inline line wrap and line break
body: <p>I'm struggling with my xsl:fo (Apache Fop 1.1). 
  I'm trying to generate a Block with inline images and inline text elements which might contain newline characters. </p>
  
  <pre><code>&lt;fo:block&gt;
      &lt;fo:inline&gt;First Line&amp;#10;Second Line, Image: &lt;/fo:inline&gt;
      &lt;fo:inline&gt;
          &lt;fo:external-graphic scaling="non-uniform" content-height="scale-to-fit" content-width="4mm" height="4mm" src="data:image;base64,iVBORw0KGgoAAAANSUhEUgAAAGcAAABfCAIAAAB6Ck5uAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVHhe7cGBAAAAAMOg+VNf4QBVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHCoAXMKAAFau+l4AAAAAElFTkSuQmCC"/&gt;
      &lt;/fo:inline&gt;
      &lt;fo:inline&gt; some more Text on Line 2&amp;#10;3rd Line&lt;/fo:inline&gt;
  &lt;/fo:block&gt;
  </code></pre>
  
  <p>I expect the output would be</p>
  
  <pre><code>FirstLine
  SecondLine, Image: || some more Text on Line 2
  3rd Line
  </code></pre>
  
  <p>what I get is: </p>
  
  <pre><code>FirstLine SecondLine, Image: || some more Text on Line 2 3rd Line
  </code></pre>
  
  <p>I've been playing a while now with the following attributes on the fo:block element and/or the fo:inline elements giving strange or unexpected results.</p>
  
  <pre><code>white-space-collapse="false" 
  white-space-treatment="preserve" 
  linefeed-treatment="preserve"
  </code></pre>
  
  <p>Any suggestions?    </p>
  
  <p>Edit 1:
  Changing the inline elements into blocks like this</p>
  
  <pre><code>&lt;fo:block white-space-treatment="ignore"&gt;
      &lt;fo:block white-space="pre"&gt;First Line&amp;#xA;Second Line, Image: &lt;/fo:block&gt;
      &lt;fo:block&gt;
          &lt;fo:external-graphic scaling="non-uniform" content-height="scale-to-fit" content-width="4mm" height="4mm" src="data:image;base64,iVBORw0KGgoAAAANSUhEUgAAAGcAAABfCAIAAAB6Ck5uAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVHhe7cGBAAAAAMOg+VNf4QBVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHCoAXMKAAFau+l4AAAAAElFTkSuQmCC"/&gt;
      &lt;/fo:block&gt;
      &lt;fo:block white-space="pre"&gt; some more Text on Line 2&amp;#10;3rd Line&lt;/fo:block&gt;
  &lt;/fo:block&gt;
  </code></pre>
  
  <p>gives me the expected wrapping within the elements, but a new line is generated for each block which isn't what I'm trying to archive.</p>