You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Eric Smith <es...@fruitcom.com> on 2003/02/17 23:23:27 UTC
logging and line numbers of errors
I find it frustrating not being informed of line numbers where fop
finds an error. I get the stack trace but no useful indication of
where to find the error.
Is this a known deficiency or am I missing something?
fop 0204
--
Eric Smith
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: brain dead newbe
Posted by Roger Roelofs <re...@datacompusa.com>.
Oleg,
That's what I did. It worked great. It took a while to get the
concept that it is ok for regions to overlap.
On Thursday, Feb 20, 2003, at 02:40 America/Detroit, Oleg Tkachenko
wrote:
> Roger Roelofs wrote:
>
>> Thanks. My problem was that I need a double border around the page
>> and I had used absolutely positioned block-containers to get it.
>> Once I removed them the pagination worked just great.
> What about moving border to before, after, start and end regions?
> --
> Oleg Tkachenko
> Multiconn Technologies, Israel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: brain dead newbe
Posted by Oleg Tkachenko <ol...@multiconn.com>.
Roger Roelofs wrote:
> Thanks. My problem was that I need a double border around the page and
> I had used absolutely positioned block-containers to get it. Once I
> removed them the pagination worked just great.
What about moving border to before, after, start and end regions?
--
Oleg Tkachenko
Multiconn Technologies, Israel
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: brain dead newbe
Posted by Roger Roelofs <re...@datacompusa.com>.
Oleg,
Thanks. My problem was that I need a double border around the page and
I had used absolutely positioned block-containers to get it. Once I
removed them the pagination worked just great.
On Wednesday, Feb 19, 2003, at 04:35 America/Detroit, Oleg Tkachenko
wrote:
> Roger Roelofs wrote:
>> I know this has been covered, I've been wandering the archives, but
>> it hasn't sunk in yet.
>> I have a xsl doc with the following basic structure. Instead of
>> starting a new page for each iteration of this template, it resets to
>> the top of the page and writes over the top of the previous content.
>> How do I tell it to start a new page?
> You can use break-after="page" attribute to enforce page break after a
> formatting object.
>
> --
> Oleg Tkachenko
> Multiconn Technologies, Israel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
>
Roger,
Roger Roelofs
Datacomp Appraisal Services
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: brain dead newbe
Posted by Oleg Tkachenko <ol...@multiconn.com>.
Roger Roelofs wrote:
> I know this has been covered, I've been wandering the archives, but it
> hasn't sunk in yet.
>
> I have a xsl doc with the following basic structure. Instead of
> starting a new page for each iteration of this template, it resets to
> the top of the page and writes over the top of the previous content.
> How do I tell it to start a new page?
You can use break-after="page" attribute to enforce page break after a
formatting object.
--
Oleg Tkachenko
Multiconn Technologies, Israel
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
brain dead newbe
Posted by Roger Roelofs <re...@datacompusa.com>.
I know this has been covered, I've been wandering the archives, but it
hasn't sunk in yet.
I have a xsl doc with the following basic structure. Instead of
starting a new page for each iteration of this template, it resets to
the top of the page and writes over the top of the previous content.
How do I tell it to start a new page?
<xsl:template match="pageData"
<fo:block-container
border="1pt solid black"
height="10.6in"
left="0in"
position="absolute"
width="7.6in"
top="0in"
break-after="page">
<fo:block-container
border=".5pt solid black"
height="10.5in"
left=".05in"
position="absolute"
width="7.5in"
top=".05in">
<fo:block
text-align="start"
margin-left=".1in"
margin-right=".1in"
space-before="12pt"
line-height="15pt"
font-size="10pt">
<xsl:apply-templates select="Title" />
<xsl:apply-templates select="../orderSummary" />
<xsl:apply-templates select="Section" />
</fo:block>
</fo:block-container>
</fo:block-container>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: logging and line numbers of errors
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Oleg Tkachenko wrote:
> I don't think it's possible. FOP core receives an input as SAX stream,
> possibly after XSL transformation and any information about lines is
> lost already.
If a FO stream is read, perhaps something could be done
with the Locator (see ContentHandler.setDocumentLocator).
Something for the long shot.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: logging and line numbers of errors
Posted by Oleg Tkachenko <ol...@multiconn.com>.
Eric Smith wrote:
> I find it frustrating not being informed of line numbers where fop
> finds an error. I get the stack trace but no useful indication of
> where to find the error.
>
> Is this a known deficiency or am I missing something?
I don't think it's possible. FOP core receives an input as SAX stream,
possibly after XSL transformation and any information about lines is lost already.
--
Oleg Tkachenko
Multiconn Technologies, Israel
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org