[xep-support] XEP 2.77: white-space-collapse

From: Werner Donné (werner.donne@re.be)
Date: Wed Oct 02 2002 - 03:08:52 PDT


I would like to address the issue of runs of two or more consecutive spaces.
The spec is not very clear about what should happen if such runs are produced
by sibling areas in a line-area. It says the treatment is done "during area tree
construction, after refinement".

In the attached example the fo:inline element surrounding the word
"space-collapse" starts with a space and is also preceded by one. One would
expect that both spaces are collapsed into one. This would imply a recursive
treatment. However, in my opinion it is nowhere written that it must be done
like that, nor is it forbidden.

Since XEP doesn't collapse the spaces, I wonder what the rationale of that is.

This issue has already been raised without much success in:



Werner Donné  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:simple-page-master master-name="doc" page-height="297mm"
  <fo:page-sequence master-reference="doc">
    <fo:flow flow-name="xsl-region-body">
      <fo:block white-space-collapse="true">
This is a <fo:inline> space-collapse</fo:inline> test.

By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

This archive was generated by hypermail 2.1.5 : Wed Dec 18 2002 - 08:41:28 PST