Re: [css2xslfo-support] Fw: An empty output .fo file with no complaints
Brought to you by:
wdonne
From: Werner D. <wer...@re...> - 2008-10-16 12:06:40
|
Hi Sergey, Thank you for the message. In your case the tool is silent because technically speaking there is no problem. Using XHTML tags without the XHTML namespace is considered to be another XML language. Since CSSToXSLFO is intended to work with any XML language it goes through the document and finds no match, which is legal in CSS. You would have the same behaviour with an XSLT style sheet for example. Technically, the built-in User Agent style sheet is written for the XHTML namespace, which is why nothing matches. If you would write an alternative User Agent style sheet without a namespace, your document would work. Of course, since there is built-in support for XHTML I could write out a warning when the "html" tag is used without the XHTML namespace, which is what I will do for the next release. Best regards, Werner. On 16 Oct 2008, at 13:11, USHAKOV, Sergey wrote: > Hi Werner, > > this is a copy of my message for the topic similar to the one being > discussed now, that recently got bounced from sourceforge mail > server. The > reason of my problem is evidently different, and it is just a > coinncidence > that two similar subjects got spoken of simultaneously. > > The problem is solved for me now, so my message is just for your > information. > > My best regards, > Sergey > > > ----- Original Message ----- > From: "USHAKOV, Sergey" <us...@in...> > To: <css...@li...> > Sent: Tuesday, October 14, 2008 8:18 AM > Subject: An empty output .fo file with no complaints > > >> Hi Werner, >> >> I have recently come across a case when the output .fo file was >> created >> with zero size, and no complaints were visible. >> >> Finally it came out that the namespace identifier of the source >> xhtml file >> was wrong, and fixing it solved the problem. >> >> I am not sure if keeping silence about encountered problems is the >> intended behavior for your tool :) so I thought it might be good >> to let >> you know... >> >> Thanks and best regards, >> Sergey > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support -- Werner Donné -- Re http://www.pincette.biz Engelbeekstraat 8 http://www.re.be BE-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |