Good Morning Bob, This one is really curious. The fo doesn't contain a single N400036F. Only when I transform this to PDF does the error appear. And it is always the same error.
The DocBook document is valid. Here is the code I use for the PDF transformation: private PdfReader generatePDF(FileOutputStream outfile) throws Exception { ByteArrayOutputStream fopout = new ByteArrayOutputStream(); Driver driver = new Driver(); driver.setOutputStream(fopout); driver.setRenderer(Driver.RENDER_PDF); org.apache.avalon.framework.logger.ConsoleLogger logger = new org.apache.avalon.framework.logger.ConsoleLogger( org.apache.avalon.framework.logger.ConsoleLogger.LEVEL_FATAL); org.apache.fop.messaging.MessageHandler.setScreenLogger(logger); driver.setLogger(logger); Transformer transformer = TransformerFactory.newInstance(). newTransformer( new StreamSource(new File(xsltFile))); transformer.setParameter("page-count", "#"); transformer.transform(new StreamSource(new File(xmlFile)), new SAXResult(driver.getContentHandler())); System.out.println("--- FOP done"); return new PdfReader(fopout.toByteArray()); } Stephan > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 10. Oktober 2002 07:58 > To: Stephan Wiesner; [EMAIL PROTECTED] > Subject: Re: DOCBOOK-APPS: XSL 1.56.1: The id N400036F > already exists in this document > > > On Thu, Oct 10, 2002 at 06:55:47AM +0200, Stephan Wiesner wrote: > > Hi list, > > I get this error message from FOP 20.4 (with Xalan under > Windows XP): > > "The id N400036F already exists in this document" This happens only > > with the new XSL release, 1.55 worked fine. And, it happens > only with > > large documents. 60 pages seems to be the magic number of pages. > > Sounds like a FOP bug to me and I post it there too. > > You could search the fo output for id="N400036F" to see > if there is more than one instance. If so, then it > is a DocBook bug. > > -- > > Bob Stayton 400 Encinal Street > Publications Architect Santa Cruz, CA 95060 > Technical Publications voice: (831) 427-7796 > Caldera International, Inc. fax: (831) 429-1887 > email: [EMAIL PROTECTED] >