Re: id already exists
Oh--I didn't know. Thanks. J.Pietschmann schrieb: Glen Mazza wrote: Please do, so we can keep it in mind. The issue is well known, the reasons understood. There are already multiple open reports in bugzilla for various specific cases. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: id already exists
Glen Mazza wrote: Please do, so we can keep it in mind. The issue is well known, the reasons understood. There are already multiple open reports in bugzilla for various specific cases. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: id already exists
One possibility is that you forgot to set a needed attribute within your Docbook source, that would be used by the XSL stylesheets to generate a unique ID value. I would try to minimize your docbook xml to zero in on the precise problem. A search on already exists in this document in the DOCBOOK-APPS mailing list (google for it) may also help you find the problem. Glen Jean-Philippe Guérard schrieb: Hello! I'm trying to generate PDF and PS document with FOP (from a DocBook XML source converted to FO). For a couple of documents, I always end up with the following error: [ERROR] file:/home/fevrier/essai.fo:48:206 The id id2455426 already exists in this document I tried to build the FO file with both xsltproc and xalan, with the same result each time. The FO file is available here: http://tigreraye.org/essai.fo I checked within the FO file, and failed to find the duplicate ID. Any idea? Thanks in advance! Best Regards. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: id already exists
Le 2004-09-04 16:03:55 -0400, Glen Mazza écrivait : One possibility is that you forgot to set a needed attribute within your Docbook source, that would be used by the XSL stylesheets to generate a unique ID value. I don't think so. The FO file contains no duplicate ID. My DocBook source is available here: http://tigreraye.org/essai.xml I would try to minimize your docbook xml to zero in on the precise problem. That's precisely what I did. This XML file is the minimal DocBook source that enabled me to reproduce this issue. It would seem that this problem happens when a QANDASET is over a page border. However, since fop complains about a duplicate id in the file, and no id is duplicated in the FO file, I would rather think it is a fop issue. A search on already exists in this document in the DOCBOOK-APPS mailing list (google for it) may also help you find the problem. I already did, and found various messages pointing at fop. But nothing really conclusive. By the way, I am able to fix this problem by adding one or two empty para/ in the previous answer. BTW, should I file a bug about this issue? Thanks. -- Jean-Philippe Guérard http://tigreraye.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: id already exists
Jean-Philippe Guérard schrieb: BTW, should I file a bug about this issue? Thanks. Please do, so we can keep it in mind. Maintenance branch (0.20.5) is frozen, but in case this appears in our upcoming 1.0 version, it would be good for us to have a source FO to work with. Thanks, Glen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: id already exists
Jean-Philippe Guérard wrote: Do you have something specific in mind when you mention post-processing? The DocBook style sheets create a lot of ids which aren't used but can get in the way if they are in tentatively laid out content. It may be possible to solve the problem by running a modification of the copy-through style sheet on the FO which strips unused ids. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
id already exists
Hello! I'm trying to generate PDF and PS document with FOP (from a DocBook XML source converted to FO). For a couple of documents, I always end up with the following error: [ERROR] file:/home/fevrier/essai.fo:48:206 The id id2455426 already exists in this document I tried to build the FO file with both xsltproc and xalan, with the same result each time. The FO file is available here: http://tigreraye.org/essai.fo I checked within the FO file, and failed to find the duplicate ID. Any idea? Thanks in advance! Best Regards. -- Jean-Philippe Guérard http://tigreraye.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: id already exists
Jean-Philippe Guérard wrote: [ERROR] file:/home/fevrier/essai.fo:48:206 The id id2455426 already exists in this document This kind of problem is caused by discarding a layout attempt, usually either by a keep forcing a block onto the next page or column balancing caused by a column spanning block. If you are using the latest FOP release (0.20.5) there is no way aroung except by avoiding the condition usually by carefully fiddling with forced page breaks and/or dummy content (depending on how well you can manipulate the DocBook source), or post processing. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: id already exists
Le 2004-08-31 21:18:53 +0200, J.Pietschmann écrivait : Jean-Philippe Guérard wrote: [ERROR] file:/home/fevrier/essai.fo:48:206 The id id2455426 already exists in this document This kind of problem is caused by discarding a layout attempt, usually either by a keep forcing a block onto the next page or column balancing caused by a column spanning block. If you are using the latest FOP release (0.20.5) there is no Yes, I'm using FOP 0.20.5. way aroung except by avoiding the condition usually by carefully fiddling with forced page breaks and/or dummy content (depending on how well you can manipulate the DocBook source), or post processing. Do you have something specific in mind when you mention post-processing? Is this issue due to be solved in an upcoming FOP release? Thanks. -- Jean-Philippe Guérard http://tigreraye.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error = id already exists
Hi, Thanks for the replies. I've now found a way of removing the problem from the template concerned and that is to remove any fo:wrapper tags. These are the source of the problem and their removal does not seem to have any impact on the outputted pdf. Thanks again, Mark - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 9:31 PM Subject: Re: error = id already exists Mark Williams wrote: Hi, I've searched the mailing lists for info on the above error, but couldn't find anything much on the subject. Basically, we have a largeish xslt stylesheet (produces roughly a 12 page document), which contains a table with rows that repeat for however many times a particular node appears in the XML file. If it appears more than once, so that the table row has to be repeated, we keep getting the above FOP exception, ie that the id exists. The id is the id assigned by FOP to the fo:wrapper property for each row. There is an error statement for each fo-wrapper for each row I have checked the xslt stylesheet and there is no duplication. FOP does not assign IDs. You are actually using a two stage process: 1st stage: transforming the XML into XSLFO using the style sheet 2nd stage: rendering the XSLFO into the output format. It's quite possible that the same id is used multiple times even if it is only once in the style sheet. Run the transformation standalone http://xml.apache.org/fop/running.html#check-input and examine the output. There's also a slight chance you got the still not completely fixed duplicate id bug, which may bite you in a few somewhat exotic situations. If your FO file doesn't have dupliacted ids, send in the FO snippet surrounding the place where the objectionable id occurs. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error = id already exists
Hi everybody, J.Pietschmann wrote: There's also a slight chance you got the still not completely fixed duplicate id bug, which may bite you in a few somewhat exotic situations. If your FO file doesn't have dupliacted ids, send in the FO snippet surrounding the place where the objectionable id occurs. I do have exactly this problem. I generate fo from Docbook-XML with docbook-xslt-stylesheets version 1.64.0 and I get the error null:640:1159 The id d0e1379 already exists in this document from Fop 0.20.5 when generating PDF. Please note that the id from the error-message is in fact unique in the complete FO-document. Please see below the fo-snippet containing the id. Thanks for any help, Peer. fo:block id=d0e1373 fo:block fo:block fo:block keep-together=always margin-left=0cm font-family=Helvetica,Arial,sans-serif,Symbol,ZapfDingbats fo:block keep-with-next.within-column=always fo:block font-family=Helvetica,Arial,sans-serif font-weight=bold keep-with-next.within-column=always space-before.minimum=0.8em space-before.optimum=1.0em space-before.maximum=1.2em fo:marker marker-class-name=section.head.marker4. FAQ - Frequently asked Questions (and answers) /fo:marker fo:block font-size=24.8832pt4. FAQ - Frequently asked Questions (and answers)/fo:block /fo:block /fo:block /fo:block /fo:block fo:block/ /fo:block fo:block id=d0e1376 fo:list-block space-before.optimum=0em space-before.minimum=0em space-before.maximum=0em space-after.optimum=1em space-after.minimum=0.8em space-after.maximum=1.2em provisional-label-separation=0.2em provisional-distance-between-starts=2.5em fo:list-item space-before.optimum=0.8em space-before.minimum=0.5em space-before.maximum=1.0em id=d0e1378 fo:list-item-label id=d0e1379 end-indent=label-end() fo:block4.1. /fo:block /fo:list-item-label fo:list-item-body start-indent=body-start() fo:block space-before.optimum=1em space-before.minimum=0.8em space-before.maximum=1.2emWhich editor program should I use?/fo:block /fo:list-item-body /fo:list-item fo:list-item space-before.optimum=0.8em space-before.minimum=0.5em space-before.maximum=1.0em fo:list-item-label id=d0e1382 end-indent=label-end() fo:block/ /fo:list-item-label fo:list-item-body start-indent=body-start() fo:block space-before.optimum=1em space-before.minimum=0.8em space-before.maximum=1.2emUse whatever you like - your favourite text/XML editor./fo:block /fo:list-item-body /fo:list-item /fo:list-block /fo:block /fo:block - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: error = id already exists
You can get passed this problem by applying the patch that Nancy Deschenes wrote.. I got her patch, recompiled that class and updated the jar and all was good again.. Here is the link to the bug report and patch: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3497 -Original Message- From: Peer Brink [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 February 2004 3:50 PM To: [EMAIL PROTECTED] Subject: Re: error = id already exists Hi everybody, J.Pietschmann wrote: There's also a slight chance you got the still not completely fixed duplicate id bug, which may bite you in a few somewhat exotic situations. If your FO file doesn't have dupliacted ids, send in the FO snippet surrounding the place where the objectionable id occurs. I do have exactly this problem. I generate fo from Docbook-XML with docbook-xslt-stylesheets version 1.64.0 and I get the error null:640:1159 The id d0e1379 already exists in this document from Fop 0.20.5 when generating PDF. Please note that the id from the error-message is in fact unique in the complete FO-document. Please see below the fo-snippet containing the id. Thanks for any help, Peer. fo:block id=d0e1373 fo:block fo:block fo:block keep-together=always margin-left=0cm font-family=Helvetica,Arial,sans-serif,Symbol,ZapfDingbats fo:block keep-with-next.within-column=always fo:block font-family=Helvetica,Arial,sans-serif font-weight=bold keep-with-next.within-column=always space-before.minimum=0.8em space-before.optimum=1.0em space-before.maximum=1.2em fo:marker marker-class-name=section.head.marker4. FAQ - Frequently asked Questions (and answers) /fo:marker fo:block font-size=24.8832pt4. FAQ - Frequently asked Questions (and answers)/fo:block /fo:block /fo:block /fo:block /fo:block fo:block/ /fo:block fo:block id=d0e1376 fo:list-block space-before.optimum=0em space-before.minimum=0em space-before.maximum=0em space-after.optimum=1em space-after.minimum=0.8em space-after.maximum=1.2em provisional-label-separation=0.2em provisional-distance-between-starts=2.5em fo:list-item space-before.optimum=0.8em space-before.minimum=0.5em space-before.maximum=1.0em id=d0e1378 fo:list-item-label id=d0e1379 end-indent=label-end() fo:block4.1. /fo:block /fo:list-item-label fo:list-item-body start-indent=body-start() fo:block space-before.optimum=1em space-before.minimum=0.8em space-before.maximum=1.2emWhich editor program should I use?/fo:block /fo:list-item-body /fo:list-item fo:list-item space-before.optimum=0.8em space-before.minimum=0.5em space-before.maximum=1.0em fo:list-item-label id=d0e1382 end-indent=label-end() fo:block/ /fo:list-item-label fo:list-item-body start-indent=body-start() fo:block space-before.optimum=1em space-before.minimum=0.8em space-before.maximum=1.2emUse whatever you like - your favourite text/XML editor./fo:block /fo:list-item-body /fo:list-item /fo:list-block /fo:block /fo:block - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error = id already exists
Adrian Sobotta wrote: You can get passed this problem by applying the patch that Nancy Deschenes wrote.. I got her patch, recompiled that class and updated the jar and all was good again.. Here is the link to the bug report and patch: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3497 This patch is already in the code. There are still FOs which don't unregister the id in case of undoing some layout, IIRC the cases left require some more thinking in order to get it right. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
error = id already exists
Hi, I've searched the mailing lists for info on the above error, but couldn't find anything much on the subject. Basically, we have a largeish xslt stylesheet (produces roughly a 12 page document), which contains a table with rows that repeat for however many times a particular node appears in the XML file. If it appears more than once, so that the table row has to be repeated, we keep getting the above FOP exception, ie that the id exists. The id is the id assigned by FOP to the fo:wrapper property for each row. There is an error statement for each fo-wrapper for each row I have checked the xslt stylesheet and there is no duplication. Although I could find one or two threads on the subject, I could not actually find a resolution and the problems seemed to be related to manually assigned ids not FOP assigned ids as in this case. Unless it's something that I'm doing wrong, I'm surprised that this problem has not cropped up more often. Does anyone please know of a solution to this problem. Yours gratefully, Mark Williams - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error = id already exists
You probably have to id=value with the same value. Remember, id values must be unique across the whole document, not just the element they are used on. (*Chris*) - Original Message - From: Mark Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 11:32 am Subject: error = id already exists Hi, I've searched the mailing lists for info on the above error, but couldn't find anything much on the subject. Basically, we have a largeish xslt stylesheet (produces roughly a 12 page document), which contains a table with rows that repeat for however many times a particular node appears in the XML file. If it appears more than once, so that the table row has to be repeated, we keep getting the above FOP exception, ie that the id exists. The id is the id assigned by FOP to the fo:wrapper property for each row. There is an error statement for each fo-wrapper for each row I have checked the xslt stylesheet and there is no duplication. Although I could find one or two threads on the subject, I could not actually find a resolution and the problems seemed to be related to manually assigned ids not FOP assigned ids as in this case. Unless it's something that I'm doing wrong, I'm surprised that this problem has not cropped up more often. Does anyone please know of a solution to this problem. Yours gratefully, Mark Williams - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error = id already exists
Mark Williams wrote: Hi, I've searched the mailing lists for info on the above error, but couldn't find anything much on the subject. Basically, we have a largeish xslt stylesheet (produces roughly a 12 page document), which contains a table with rows that repeat for however many times a particular node appears in the XML file. If it appears more than once, so that the table row has to be repeated, we keep getting the above FOP exception, ie that the id exists. The id is the id assigned by FOP to the fo:wrapper property for each row. There is an error statement for each fo-wrapper for each row I have checked the xslt stylesheet and there is no duplication. FOP does not assign IDs. You are actually using a two stage process: 1st stage: transforming the XML into XSLFO using the style sheet 2nd stage: rendering the XSLFO into the output format. It's quite possible that the same id is used multiple times even if it is only once in the style sheet. Run the transformation standalone http://xml.apache.org/fop/running.html#check-input and examine the output. There's also a slight chance you got the still not completely fixed duplicate id bug, which may bite you in a few somewhat exotic situations. If your FO file doesn't have dupliacted ids, send in the FO snippet surrounding the place where the objectionable id occurs. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]