Re: White space handling Wiki page

2005-11-09 Thread Simon Pepping
On Tue, Nov 08, 2005 at 11:19:15AM +0800, Manuel Mall wrote: > On Tue, 8 Nov 2005 04:40 am, Simon Pepping wrote: > > > > Step 2. Refinement: white-space-collapse > > > > > > Issue 1. The spec intentionally addresses only XML white space, > > because only suc

Re: White space handling Wiki page

2005-11-07 Thread Manuel Mall
On Tue, 8 Nov 2005 04:40 am, Simon Pepping wrote: > I have taken my time, but here is my reaction to the Wiki page on > white space handling. In addition, I have written my own view on the > XSL-FO spec's handling of white space in a Wiki page. Simon, your efforts are very much appreciated - at l

Re: White space handling Wiki page

2005-11-07 Thread Simon Pepping
I have taken my time, but here is my reaction to the Wiki page on white space handling. In addition, I have written my own view on the XSL-FO spec's handling of white space in a Wiki page. Step 2. Refinement: white-space-collapse Issue 1. The spec intentio

Re: White space handling Wiki page

2005-11-01 Thread Andreas L Delmelle
On Nov 1, 2005, at 10:04, Manuel Mall wrote: I am sure it is doable - but is it worth it at this stage? Possibly after a better understanding of the white-space handling issues that whole current system needs revision? One problem with the current char iterator is that it iterates over inline b

Re: White space handling Wiki page

2005-11-01 Thread Manuel Mall
On Tue, 1 Nov 2005 04:25 pm, Andreas L Delmelle wrote: > On Oct 31, 2005, at 22:18, Andreas L Delmelle wrote: > > On Oct 27, 2005, at 06:29, Manuel Mall wrote: > >> Actually something like: > >> word1 >> character=" "/> >> " "/>word2word3 >> character=" "/> > >> currently causes an exception! > > >

Re: White space handling Wiki page

2005-11-01 Thread Andreas L Delmelle
On Oct 31, 2005, at 22:18, Andreas L Delmelle wrote: On Oct 27, 2005, at 06:29, Manuel Mall wrote: Actually something like: word1word2word3 currently causes an exception! The problem can be solved by a slight modification to OneCharIterator: * add a constructor with Character parameter (and

Re: White space handling Wiki page

2005-10-31 Thread Andreas L Delmelle
On Oct 27, 2005, at 06:29, Manuel Mall wrote: Manuel, Some more on this example: Actually something like: word1word2word3 currently causes an exception! I think I see the problem (don't know if you've seen it that way): fop.fo.flow.Character overrides FONode.charIterator(), which returns

Re: White space handling Wiki page

2005-10-28 Thread Manuel Mall
If its any consolation in this discussion I wrote a little HTML test to see how browsers deal with these white space (and some line height) issues. To mimic the XSL-FO situation I used only and . You can see the results here: http://people.apache.org/~manuel/fop/test5.html I viewed this page

Re: White space handling Wiki page

2005-10-28 Thread Andreas L Delmelle
On Oct 28, 2005, at 12:28, Manuel Mall wrote: On Fri, 28 Oct 2005 04:58 am, Andreas L Delmelle wrote: (second example) Same thinking here, b) seems to be the way to go. We agree but did you notice the difference it would make in visual appearance if the just happens to be at the beginn

Re: White space handling Wiki page

2005-10-28 Thread Manuel Mall
On Fri, 28 Oct 2005 11:08 pm, Luca Furini wrote: > Manuel Mall wrote: > > Side note: FOP doesn't quite do the same internally, i.e. a > > character explicitly specified using is handled > > separately from 'plain text'. If someone would write a style sheet > > which does a transform of every chara

Re: White space handling Wiki page

2005-10-28 Thread Luca Furini
Manuel Mall wrote: Side note: FOP doesn't quite do the same internally, i.e. a character explicitly specified using is handled separately from 'plain text'. If someone would write a style sheet which does a transform of every character into a object and would feed the output to FOP the form

Re: White space handling Wiki page

2005-10-28 Thread Manuel Mall
Andreas, excellent - I think there is now lots of convergence and common understanding between your and my interpretations. A bit more inline. On Fri, 28 Oct 2005 04:58 am, Andreas L Delmelle wrote: > On Oct 25, 2005, at 10:57, Manuel Mall wrote: > > When FOP is collapsing (b) or removing (c) w

Re: White space handling Wiki page

2005-10-27 Thread Andreas L Delmelle
On Oct 25, 2005, at 10:57, Manuel Mall wrote: When FOP is collapsing (b) or removing (c) white space are there any fences we need to observe. For example a border/padding between two spaces, e.g. (spaces represented by a .): ..Text .. There are 4 sequences of 3 spaces each. What would we

Re: White space handling Wiki page

2005-10-26 Thread Manuel Mall
On Wed, 26 Oct 2005 06:22 am, Andreas L Delmelle wrote: > On Oct 25, 2005, at 10:57, Manuel Mall wrote: > > The right order in which the related properties should be dealt with > seems to be: > 1. white-space-treatment (property refinement) > 2. linefeed-treatment (property refinement) > 3. white-

Re: White space handling Wiki page

2005-10-26 Thread Manuel Mall
On Wed, 26 Oct 2005 06:22 am, Andreas L Delmelle wrote: > On Oct 25, 2005, at 10:57, Manuel Mall wrote: > No, it talks about 'character flow objects', which makes me wonder... > Are all characters to be considered 'character flow objects' or only > those that were specified using fo:character? Not

Re: White space handling Wiki page

2005-10-26 Thread Andreas L Delmelle
On Oct 26, 2005, at 18:00, Andreas L Delmelle wrote: On Oct 26, 2005, at 03:16, Manuel Mall wrote: Therefore I think it is correct and advisable to refer to 1.1 in this case. Could you please review your comments under this aspect as I believe that would clarify why I refer to line breaki

Re: White space handling Wiki page

2005-10-26 Thread Andreas L Delmelle
On Oct 26, 2005, at 03:16, Manuel Mall wrote: Manuel, Therefore I think it is correct and advisable to refer to 1.1 in this case. Could you please review your comments under this aspect as I believe that would clarify why I refer to line breaking vs linefeed, glyph areas vs fo's, etc. below. W

Re: White space handling Wiki page

2005-10-25 Thread Manuel Mall
Andreas, firstly a great thanks for looking at this. I am not going to comment on your comments right now but there is probably an important clarification required: All my interpretations of the spec with respect to white space handling are based on the 1.1WD not the 1.0 spec. The WG has alrea

Re: White space handling Wiki page

2005-10-25 Thread Andreas L Delmelle
On Oct 25, 2005, at 10:57, Manuel Mall wrote: Hi Manuel, I haven't got any technical comments to the issues raised on the Wiki page. Is this 'too hard' or 'too boring' or 'too messy' or what? All three, and more :-P Nah, seriously now, trying to comment in on the thread from last week: On Oc

Re: White space handling Wiki page

2005-10-25 Thread Simon Pepping
Hi Manuel, On Tue, Oct 25, 2005 at 04:57:41PM +0800, Manuel Mall wrote: > Hi, > > I haven't got any technical comments to the issues raised on the Wiki > page. Is this 'too hard' or 'too boring' or 'too messy' or what? The > problem is not going away. We currently don't do it right in some part

Re: White space handling Wiki page

2005-10-25 Thread Manuel Mall
Hi, I haven't got any technical comments to the issues raised on the Wiki page. Is this 'too hard' or 'too boring' or 'too messy' or what? The problem is not going away. We currently don't do it right in some parts (that is established) but I don't know overall what is right or wrong. May be i

Re: White space handling Wiki page

2005-10-20 Thread Chris Bowditch
Manuel Mall wrote: Manuel, I was close to throwing temporarily the proverbial "towel into the ring" with respect to whitespace handling. However an offline IM chat with Jeremias and writing the response to Stephen's post encouraged me to take a different approach. Instead of trying to under

Re: White space handling Wiki page

2005-10-20 Thread Manuel Mall
I was close to throwing temporarily the proverbial "towel into the ring" with respect to whitespace handling. However an offline IM chat with Jeremias and writing the response to Stephen's post encouraged me to take a different approach. Instead of trying to understand whitespace handling on th

Re: White space handling Wiki page

2005-10-19 Thread Manuel Mall
On Thu, 20 Oct 2005 08:15 am, Stephen Denne wrote: > I have not read the spec regarding these attributes recently, but I > was wondering whether the treatment of whitespace in the fo file > defaults to the normal whitespace treatment in xml files if no > special white-space treatment attributes are

RE: White space handling Wiki page

2005-10-19 Thread Stephen Denne
I have not read the spec regarding these attributes recently, but I was wondering whether the treatment of whitespace in the fo file defaults to the normal whitespace treatment in xml files if no special white-space treatment attributes are specified. I had an xsl stylesheet producing fo, that res

Re: White space handling Wiki page

2005-10-19 Thread Manuel Mall
On Wed, 19 Oct 2005 03:33 pm, Jeremias Maerki wrote: > On 19.10.2005 03:45:33 Manuel Mall wrote: > > On Wed, 19 Oct 2005 05:44 am, Jeremias Maerki wrote: > Still, I get the impression that *-treatment > are both handled before white-space-collapse. > Yes, linefeed-treatment is definitely a refin

Re: White space handling Wiki page

2005-10-19 Thread Jeremias Maerki
On 19.10.2005 03:45:33 Manuel Mall wrote: > On Wed, 19 Oct 2005 05:44 am, Jeremias Maerki wrote: > > I've started to comment on the individual issues you listed and only > > when I got to the examples I realized there must be something wrong. > > You place the white-space-treatment after the white

Re: White space handling Wiki page

2005-10-18 Thread Manuel Mall
On Wed, 19 Oct 2005 05:44 am, Jeremias Maerki wrote: > I've started to comment on the individual issues you listed and only > when I got to the examples I realized there must be something wrong. > You place the white-space-treatment after the white-space-collapse > but I think it is clear that the

Re: White space handling Wiki page

2005-10-18 Thread Jeremias Maerki
her issues. On 18.10.2005 11:14:09 Manuel Mall wrote: > I have started a white space handling Wiki page > (http://wiki.apache.org/xmlgraphics-fop/LineLayout/WhitespaceHandling). > > As with many other areas of the spec it seems to raise more questions than > providing answers. I re

White space handling Wiki page

2005-10-18 Thread Manuel Mall
I have started a white space handling Wiki page (http://wiki.apache.org/xmlgraphics-fop/LineLayout/WhitespaceHandling). As with many other areas of the spec it seems to raise more questions than providing answers. I really would appreciate any comments, different views, clarifications, ... on