On Thu, Mar 29, 2012 at 5:29 PM, Bob Stayton <[email protected]> wrote: > I tested with XEP and Antenna House, both of which run on a Mac and both of > which have free evaluation versions.
Thanks :) > > > Bob Stayton > Sagehill Enterprises > [email protected] > > > ----- Original Message ----- From: "Alberto Simões" <[email protected]> > To: "Bob Stayton" <[email protected]> > Cc: <[email protected]> > Sent: Thursday, March 29, 2012 9:20 AM > Subject: Re: [docbook-apps] Are docbook xsl up-to-date? > > > > Hello, Bob > > > On Thu, Mar 29, 2012 at 5:15 PM, Bob Stayton <[email protected]> wrote: >> >> Based on the .fo file that Alberto sent to me, this appears to be a bug in >> FOP 1.0. I can reproduce it by putting an indexterm inside an inline >> element inside a footnote. In general, an indexterm generates an >> fo:wrapper >> element to hold the indexterm id marker. When this fo:wrapper is inside an >> fo:inline, it appears to confuse FOP, but only when inside a footnote. > > > Thanks for the help. Before changing the docbook file, I'll poke fop > guys. I would love not to have to change the original document. > >> Removing the fo:wrapper removes the error. All other locations with that >> construction do not generate an error. Two other XSL-FO processors did not >> produce an error. > > > Any of them is free and works on Mac OS X? :) > > Thank you, > Alberto > > > > >> >> As a workaround, I would suggest avoiding putting indexterms inside inline >> elements inside footnotes. Instead, put the indexterm just before or after >> the inline element. >> >> >> Bob Stayton >> Sagehill Enterprises >> [email protected] >> >> >> ----- Original Message ----- From: "Alberto Simões" <[email protected]> >> To: <[email protected]> >> Sent: Wednesday, March 28, 2012 4:08 AM >> Subject: [docbook-apps] Are docbook xsl up-to-date? >> >> >> Dear All, >> >> I am kind of new to this world of docbook. >> I managed to convert a validated docbook XML into a FO file. >> But then, fop complains that the FO file is not valid: >> >> SEVERE: Exception >> javax.xml.transform.TransformerException: >> org.apache.fop.fo.ValidationException: "fo:inline" is not a valid >> child of "fo:block"! (See position 1870:716) >> >> Any idea what am I doing wrong? >> Or are the XSL needing some fix? >> >> Thank you >> Alberto >> >> -- >> Alberto Simões >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > > > -- > Alberto Simões > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- Alberto Simões --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
