FOP- Trunk - Duplicate LayoutManagers for class

2012-11-23 Thread Bonekrusher
Hi, 

I am receiving the below error using table-markers in the trunk. Usually
when I receive an error, I will try to cut the FO down to the page sequence
and then cut it down to the block to isolate the error. In this case, I the
FO file is large. When I think I have the table/block, the error does not
occur. When the FO is created, my xslt stylesheet does not indent the xml.
When I run the FO with no-indent, I do not get the error. When I
pretty-print or indent the FO, the error occurs.

Trying to narrow this down to a working sample for you to reproduce the
error is proving difficult. I will continue to try to get a repo, but in the
mean while can someone give me a little more info on the error if possible. 

Exception
java.lang.IllegalStateException: Duplicate LayoutManagers for class class
org.ap
ache.fop.fo.flow.RetrieveTableMarker found, only one may be declared.

Thx



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FOP-Trunk-Duplicate-LayoutManagers-for-class-tp37393.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: FOP- Trunk - Duplicate LayoutManagers for class

2012-11-23 Thread Bonekrusher
I was able to narrow down the error to a marker with a child fo:inline:

fo:marker marker-class-name=primary-para-continuation
 fo:inlineMY PARA - Cont/fo:inline
/fo:marker

Would this be a markup error rather than a java.lang.IllegalStateException:
Duplicate LayoutManagers class org.apache.fop.fo.flow.RetrieveTableMarker
exception?

Also, is it possible for the Exception to provide the FO line number?




--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FOP-Trunk-Duplicate-LayoutManagers-for-class-tp37393p37394.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: FOP- Trunk - Duplicate LayoutManagers for class

2012-11-23 Thread Luis Bernardo


Can you provide an example? I just tried to put an inline inside a 
marker the way you describe and there were no problems. You also say 
this only happens after you pretty print but my example is already 
pretty printed. So there must be something else going on. So if you 
provide your example I will take a look.


On 11/23/12 3:26 PM, Bonekrusher wrote:

I was able to narrow down the error to a marker with a child fo:inline:

fo:marker marker-class-name=primary-para-continuation
  fo:inlineMY PARA - Cont/fo:inline
/fo:marker

Would this be a markup error rather than a java.lang.IllegalStateException:
Duplicate LayoutManagers class org.apache.fop.fo.flow.RetrieveTableMarker
exception?

Also, is it possible for the Exception to provide the FO line number?




--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FOP-Trunk-Duplicate-LayoutManagers-for-class-tp37393p37394.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: FOP- Trunk - Duplicate LayoutManagers for class

2012-11-23 Thread Bonekrusher
Hi Luis,

Please see attached sample. I got it as small as possible. Search for the 2
comments:

Uncomment this marker and it works

and 

or remove this fo:inline

I noticed that if I add a marker before the first fo:table-row, it works
even with the fo:inline. If I comment out the first marker and leave the
fo:inline, I get the error.

Thanks for looking at this.

Phil
output-marker-error.fo
http://apache-fop.1065347.n5.nabble.com/file/n37399/output-marker-error.fo  




--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FOP-Trunk-Duplicate-LayoutManagers-for-class-tp37393p37399.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: FOP- Trunk - Duplicate LayoutManagers for class

2012-11-23 Thread Bonekrusher
Here is another copy with the marker commented out  output-marker-error.fo
http://apache-fop.1065347.n5.nabble.com/file/n37400/output-marker-error.fo  
which also triggers the error.



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FOP-Trunk-Duplicate-LayoutManagers-for-class-tp37393p37400.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org