Re: [css2xslfo-support] Problem with regions and FOP 1.0
Brought to you by:
wdonne
From: USHAKOV, S. <us...@in...> - 2011-09-13 14:32:05
|
Werner, thank you for prompt response. I have prepared an abridged XHTML/CSS sample document that demonstrates the problem, at least for me :) Please see it attached. The FO is attached too. Thank you for your comments in advance, and sorry if the problem is in my html/css and obvious... Regards, Sergey ----- Original Message ----- From: "Werner Donné" <wer...@pi...> To: "USHAKOV, Sergey" <us...@in...> Cc: <css...@li...> Sent: Tuesday, September 13, 2011 10:50 AM Subject: Re: [css2xslfo-support] Problem with regions and FOP 1.0 > Hi Sergey, > > This would indicate that there is an element to which a region is assigned > and that is not one of the first children of the body element. All region > elements should come before the first element that is not a region. If > this is not causing the problem in your case, then I should see the > example in order to understand what is going on. > > Best regards, > > Werner. > > On 13 Sep 2011, at 07:34, USHAKOV, Sergey wrote: > >> And one more news. Direct conversion from xhtml to pdf with css2fopnew >> ends >> for me with the same exception. >> >> Regards, >> Sergey >> >> >> ----- Original Message ----- >> From: "USHAKOV, Sergey" <us...@in...> >> To: <css...@li...> >> Sent: Tuesday, September 13, 2011 7:16 AM >> Subject: Re: [css2xslfo-support] Problem with regions and FOP 1.0 >> >> >>> Just a short extra note. I did not try direct conversion to pdf using >>> css2fopnew yet. What I did was chain coversion, first with plain >>> css2xslfo >>> and then with FOP itself... >>> >>> Regards, >>> Sergey >>> >>> >>> ----- Original Message ----- >>> From: "USHAKOV, Sergey" <us...@in...> >>> To: <css...@li...> >>> Sent: Tuesday, September 13, 2011 6:59 AM >>> Subject: Problem with regions and FOP 1.0 >>> >>> >>>> Hi Werner, >>>> >>>> I haven't been using css2cslfo for quite a long time already. Having >>>> come >>>> back I tried using css2cslfo 1.6.2 with FOP 1.0 and ran into a problem >>>> with static regions. >>>> >>>> FOP is complaining with an exception >>>> javax.xml.transform.TransformerException: ... >>>> "{http://www.w3.org/1999/XSL/Format}static-content" is not a valid >>>> child >>>> of "fo:flow"! ... >>>> >>>> The approach I'm using is very close to your instructions in the "Page >>>> Regions" section of your manual. No extra options for css2cslfo. No >>>> extra >>>> options for FOP, just plain pdf generation. >>>> >>>> Can you reproduce this issue? If not, I'll go ahead with specifying my >>>> case in more detail... >>>> >>>> My best regards, >>>> Sergey >>> >>> >>> ------------------------------------------------------------------------------ >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >>> Learn about the latest advances in developing for the >>> BlackBerry® mobile platform with sessions, labs & more. >>> See new tools and technologies. Register for BlackBerry® DevCon >>> today! >>> http://p.sf.net/sfu/rim-devcon-copy1 >>> _______________________________________________ >>> css2xslfo-support mailing list >>> css...@li... >>> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >> >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> Learn about the latest advances in developing for the >> BlackBerry® mobile platform with sessions, labs & more. >> See new tools and technologies. Register for BlackBerry® DevCon >> today! >> http://p.sf.net/sfu/rim-devcon-copy1 >> _______________________________________________ >> css2xslfo-support mailing list >> css...@li... >> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > > -- > http://www.pincette.biz/ > Handling your documents with care, wherever you are. > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > Learn about the latest advances in developing for the > BlackBerry® mobile platform with sessions, labs & more. > See new tools and technologies. Register for BlackBerry® DevCon today! > http://p.sf.net/sfu/rim-devcon-copy1 > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support |