RE: [xep-support] Don't know why xep finds error

From: Henk Rutten <hrutten@grafidata.nl>
Date: Sat Aug 26 2006 - 07:31:03 PDT

Hi Teus,

On line 38, when you want to insert a page-break, there hasn't been any
output yet. I think that is causing the error message.

When you place a <fo:block>&#160;</fo:block> before <fo:block
break-after="odd-page"></fo:block> the error message disappears:

<fo:block>&#160;</fo:block>
<fo:block break-after="odd-page"></fo:block>

Hope this helps

Groeten Henk

-----Oorspronkelijk bericht-----
Van: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]
Namens Teus Benschop
Verzonden: zaterdag 26 augustus 2006 15:42
Aan: xep-support@renderx.com
Onderwerp: Re: [xep-support] Don't know why xep finds error

Oops, in the previous mail I attached the document.fo without the error.
Sorry. Here is the one with the error again.

Teus.

Hi Michael,

The explanation of Henk enabled me to get rid of the [warning], but the
[error] was still there.

I've now shortened the xslfo file and attached it again.

The strange thing is that an error is given, which suggests something is
lost, yet no text is lost at all.

The error message goes away when line number 38 (<fo:block
break-after="odd-page"></fo:block>) is removed. Yet in line 55 there is
exactly the same code, but it gives no error.

Am I writing incompatible xsl-fo code or is this something in XEP?

Thank you,

Teus.

Michael Sulyaev wrote:
> Hello Teus,
>
> Henk Rutten is absolutely right in his explanation.
>
> I would like to comment on the error message you get:
>> [error] no space for an element, trying to recover
>
> This may happen in different situations, when XEP must place an object
> (e.g. a picture), but does not have enough room for it. If it is in a
> fo:flow, it would usually proceed to the next page (if there is enough
> room for it there). But if it happens in a fixed-dimension area, XEP
> may drop the object totally.
>

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Sat Aug 26 07:38:37 2006

This archive was generated by hypermail 2.1.8 : Sat Aug 26 2006 - 07:38:38 PDT