RE: Infinite Loop

2002-10-14 Thread Rhett Aultman

Indeed.  I'm working on the infinite loop issue in FOP (when I get time to), so if I 
saw the actual FO document (your XML after having a stylesheet applied), I could 
probably tell you what's going wrong in minutes.

-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 12, 2002 1:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Infinite Loop


Venkata Rao Nadella wrote:

 I am trying to convert following XML file to PDF format using FOP. But 
 it goes into infinite loop. Can somebody help me in figuring out why 
 this is happening?
What your xsl stylesheet looks like? Without seeing it nobody can help you.

-- 
Oleg Tkachenko
eXperanto team
Multiconn International, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Infinite Loop

2002-10-14 Thread Venkata Rao Nadella

Hi,

I have attached both XML file and Stylesheet to this mail. Please use them
to reproduce the problem.

Thanks,
Venkat

-Original Message-
From: Rhett Aultman [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 8:35 AM
To: [EMAIL PROTECTED]
Subject: RE: Infinite Loop


Indeed.  I'm working on the infinite loop issue in FOP (when I get time to),
so if I saw the actual FO document (your XML after having a stylesheet
applied), I could probably tell you what's going wrong in minutes.

-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 12, 2002 1:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Infinite Loop


Venkata Rao Nadella wrote:

 I am trying to convert following XML file to PDF format using FOP. But
 it goes into infinite loop. Can somebody help me in figuring out why
 this is happening?
What your xsl stylesheet looks like? Without seeing it nobody can help you.

--
Oleg Tkachenko
eXperanto team
Multiconn International, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


?xml version=1.0?
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
  xmlns:fo=http://www.w3.org/1999/XSL/Format;

xsl:variable name=NotAvailable1--/xsl:variable

xsl:template match=/
  fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;

fo:layout-master-set
  fo:simple-page-master master-name=A4
 page-width=216mm page-height=279.5mm
 margin-top=0.5in
 margin-left=0.5in margin-right=0.5in
fo:region-before extent=1.5in/
fo:region-after extent=1.0in/
fo:region-start extent=1.0in/
fo:region-end extent=1.0in/
fo:region-body margin-top=1.04in margin-bottom=1.04in/
  /fo:simple-page-master
/fo:layout-master-set

fo:page-sequence master-reference=A4 initial-page-number=1 language=en country=us

  fo:flow flow-name=xsl-region-body
fo:block font-size=10px font-family=sans-serif
  fo:table table-layout=fixed
fo:table-column column-width=140pt/
fo:table-column column-width=5pt/
fo:table-column column-width=378pt/
fo:table-header
  fo:table-row font-weight=bold background-color=#e7e8dd line-height=16pt
fo:table-cell number-columns-spanned=3
  fo:blockAnnuity Options/fo:block
/fo:table-cell
  /fo:table-row
/fo:table-header
fo:table-body
  fo:table-row
fo:table-cell font-weight=bold
  fo:blockAnnuity Minimum Amount ($)/fo:block
/fo:table-cell
fo:table-cell
  fo:block#160;#160;/fo:block
/fo:table-cell
fo:table-cell
  xsl:call-template name=get-value
xsl:with-param name=node select=DATAEXPRESS/CONTRACT//Annuity_Min_Amt/
  /xsl:call-template
/fo:table-cell
  /fo:table-row
/fo:table-body
  /fo:table
  fo:table table-layout=fixed
fo:table-column column-width=398pt/
fo:table-column column-width=10pt/
fo:table-column column-width=50pt/
fo:table-column column-width=10pt/
fo:table-column column-width=55pt/
fo:table-header
  fo:table-row
fo:table-cell font-weight=bold
  fo:blockName/fo:block
/fo:table-cell
fo:table-cell
  fo:block#160;#160;#160;#160;/fo:block
/fo:table-cell
fo:table-cell font-weight=bold
  fo:blockInterest Rate (%)/fo:block
/fo:table-cell
fo:table-cell
  fo:block#160;#160;#160;#160;/fo:block
/fo:table-cell
fo:table-cell font-weight=bold
  fo:blockAssumed Inv Rate ($)/fo:block
/fo:table-cell
  /fo:table-row
/fo:table-header
fo:table-body
  xsl:variable name=NoOfNodes
xsl:value-of select=count(DATAEXPRESS/ANNUITY_OPTIONS/AnnuityOption)/
  /xsl:variable
  xsl:choose
xsl:when test=$NoOfNodes0
  xsl:apply-templates select=DATAEXPRESS/ANNUITY_OPTIONS/AnnuityOption/
/xsl:when
xsl:otherwise
  xsl:call-template name=get-NotAvailable3/
/xsl:otherwise
  /xsl:choose
  fo:table-row keep-with-previous=always
fo:table-cell
  fo:block#160;/fo:block

Re: Infinite Loop

2002-10-14 Thread Oleg Tkachenko

Venkata Rao Nadella wrote:

 I have attached both XML file and Stylesheet to this mail. Please use them
 to reproduce the problem.
That's well-known keep-together bug, you have
fo:table-row background-color={$backgroundcolor} keep-together=always
and fop is trying to keep the whole row together and looping forewer :(
Get rid of it if you can or alternatively give more space to the table row.
Or just wait, probably Rhett is gonna fix it :)

-- 
Oleg Tkachenko
eXperanto team
Multiconn International, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Infinite Loop

2002-10-14 Thread Rhett Aultman

It's worth noting that the infinite loop fix for the Maintenance branch will not be a 
fix in the sense that the LayoutManagers will find a layout that prevents looping.  
All the fix is going to do is handle breaking the infinite loop.  Thus, it's highly 
suggested that anyone encountering an infinite loop not think that the infinite loop 
fix will solve their problems.  A document that cannot be laid out, cannot be laid out.

-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 9:32 AM
To: Venkata Rao Nadella
Cc: [EMAIL PROTECTED]
Subject: Re: Infinite Loop


Venkata Rao Nadella wrote:

 I have attached both XML file and Stylesheet to this mail. Please use them
 to reproduce the problem.
That's well-known keep-together bug, you have
fo:table-row background-color={$backgroundcolor} keep-together=always
and fop is trying to keep the whole row together and looping forewer :(
Get rid of it if you can or alternatively give more space to the table row.
Or just wait, probably Rhett is gonna fix it :)

-- 
Oleg Tkachenko
eXperanto team
Multiconn International, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Infinite Loop

2002-10-14 Thread Venkata Rao Nadella

Thanks.

Venkat

-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 9:32 AM
To: Venkata Rao Nadella
Cc: [EMAIL PROTECTED]
Subject: Re: Infinite Loop


Venkata Rao Nadella wrote:

 I have attached both XML file and Stylesheet to this mail. Please use them
 to reproduce the problem.
That's well-known keep-together bug, you have
fo:table-row background-color={$backgroundcolor} keep-together=always
and fop is trying to keep the whole row together and looping forewer :(
Get rid of it if you can or alternatively give more space to the table row.
Or just wait, probably Rhett is gonna fix it :)

--
Oleg Tkachenko
eXperanto team
Multiconn International, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Infinite Loop

2002-10-13 Thread Oleg Tkachenko

Venkata Rao Nadella wrote:

 I am trying to convert following XML file to PDF format using FOP. But 
 it goes into infinite loop. Can somebody help me in figuring out why 
 this is happening?
What your xsl stylesheet looks like? Without seeing it nobody can help you.

-- 
Oleg Tkachenko
eXperanto team
Multiconn International, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]