PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3497 *** shadow/3497 Fri Sep 7 09:28:11 2001 --- shadow/3497.tmp.29634 Fri Sep 7 09:28:12 2001 *************** *** 0 **** --- 1,67 ---- + +============================================================================+ + | id already exists error when using span="all" attribute | + +----------------------------------------------------------------------------+ + | Bug #: 3497 Product: Fop | + | Status: NEW Version: all | + | Resolution: Platform: PC | + | Severity: Critical OS/Version: Linux | + | Priority: Other Component: page-master/layout | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Fop 0.20.1 reports 'ERROR: The id "b2" already exists in this document' on + executing "java org.apache.fop.apps.Fop spanbug.fo spanbug.pdf" with the input file + + spanbug.fo: + ------------------------------------------------------------ + + <?xml version="1.0" encoding="ISO-8859-1"?> + + <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <fo:layout-master-set> + <fo:simple-page-master master-name="first"> + <fo:region-body column-count="2" column-gap="5mm"/> + </fo:simple-page-master> + + <fo:page-sequence-master master-name="standard"> + <fo:repeatable-page-master-reference master-name="first" /> + </fo:page-sequence-master> + </fo:layout-master-set> + + <fo:page-sequence master-name="standard"> + <fo:flow flow-name="xsl-region-body"> + + <fo:block id="b1" span="all" text-align="center"> + Block 1 + </fo:block> + + <!-- If you add a span="all" here, the error does not occur! +--> + <fo:block id="b2" text-align="center"> + Block 2 + </fo:block> + + <fo:block id="b3" span="all" text-align="center"> + Block 3 + </fo:block> + + <fo:block id="b4" text-align="center"> + Block 4 + </fo:block> + + </fo:flow> + </fo:page-sequence> + </fo:root> + + ------------------------------------------------------------ + + If the second block has a span="all" attribute like the first and the third, + fop proceeds without error and produced the correct output. + + Since usage of the id-attribute and of alternating spanning / non spanning + blocks is quite important for large documents, books, etc., i think this is a + serious problem. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
