AW: FOP creates corrupt PDF? (was: ValidationException: Document is empty)

2010-12-09 Thread Georg Datterl
GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Gesendet: Mittwoch, 8. Dezember 2010 19:53 An: fop-users@xmlgraphics.apache.org Betreff: Re: FOP creates corrupt PDF? (was: ValidationException: Document is empty) I had no problem generating a good

Re: FOP creates corrupt PDF? (was: ValidationException: Document is empty)

2010-12-08 Thread Jeremias Maerki
I had no problem generating a good PDF from your bill.fo with FOP 1.0. I can see, though, that your bill.pdf is unfinished. It lacks the PDF trailer. Could be that you got some exception or that your code does not properly flush/close the written file. I did it from the command-line. On 08.12.2010

FOP creates corrupt PDF? (was: ValidationException: Document is empty)

2010-12-08 Thread Georg Datterl
org Betreff: Re: AW: ValidationException: Document is empty On 07.12.2010 16:39, Georg Datterl wrote: > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> > > >

Re: AW: ValidationException: Document is empty

2010-12-07 Thread J.Pietschmann
On 07.12.2010 16:39, Georg Datterl wrote: http://www.w3.org/1999/XSL/Transform";> http://www.w3.org/1999/XSL/Format";> "> ^^

RE: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
Consult & Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Eric Douglas [mailto:edoug...@blockhouse.com] Gesendet: Dienstag, 7. Dezember 2010 17:25 An: fop-users@xmlgraphics.apache.org Betreff: RE: ValidationException: Document is empty I think you'r

RE: AW: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
[mailto:georg.datt...@geneon.de] Sent: Tuesday, December 07, 2010 12:17 PM To: fop-users@xmlgraphics.apache.org Subject: AW: AW: ValidationException: Document is empty Hi Chris, I think that's the important point. I'll rewrite my transformation tomorrow and have a look. Thanks a lot. Oh, and 20

AW: AW: ValidationException: Document is empty

2010-12-07 Thread Georg Datterl
.de Willmy Consult & Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Christopher R. Maden [mailto:cr...@maden.org] Gesendet: Dienstag, 7. Dezember 2010 17:48 An: fop-users@xmlgraphics.apache.org Betreff: Re: AW: ValidationException: Document is empty On 12/07

Re: AW: ValidationException: Document is empty

2010-12-07 Thread Christopher R. Maden
On 12/07/2010 11:43 AM, Georg Datterl wrote: > I'm not quite sure WHO exactly complains. The original xslt (with > <) works fine if I use it to transform the xml file. It generates > a fo-file which I can then transform into a pdf. The corrected xslt > works fine, if I don't use more complex transf

AW: ValidationException: Document is empty

2010-12-07 Thread Georg Datterl
c.de -Ursprüngliche Nachricht- Von: Eric Douglas [mailto:edoug...@blockhouse.com] Gesendet: Dienstag, 7. Dezember 2010 17:25 An: fop-users@xmlgraphics.apache.org Betreff: RE: ValidationException: Document is empty I think you're a bit confused. 1) FOP doesn't complain about anything.

RE: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
to format xml data for a web page. Xslfo expands on xslt to add the pageable tags required for a PDF which a web page wouldn't understand. -Original Message- From: Georg Datterl [mailto:georg.datt...@geneon.de] Sent: Tuesday, December 07, 2010 10:40 AM To: fop-users@xmlgraphics.apach

RE: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
ric.am...@mail.house.gov] Sent: Tuesday, December 07, 2010 10:37 AM To: 'fop-users@xmlgraphics.apache.org' Subject: RE: ValidationException: Document is empty If I may jump in here, I think it's more fundamental. I don't believe the XML standard allows using entities as a part of start and

AW: ValidationException: Document is empty

2010-12-07 Thread Georg Datterl
sprüngliche Nachricht- Von: Eric Douglas [mailto:edoug...@blockhouse.com] Gesendet: Dienstag, 7. Dezember 2010 16:21 An: fop-users@xmlgraphics.apache.org Betreff: RE: ValidationException: Document is empty That seems a strange thing to do but yes that works fine. FOP just doesn't like h

RE: ValidationException: Document is empty

2010-12-07 Thread Amick, Eric
.@blockhouse.com] > Sent: Tuesday, December 7, 2010 10:21 > To: fop-users@xmlgraphics.apache.org > Subject: RE: ValidationException: Document is empty > > That seems a strange thing to do but yes that works fine. FOP just > doesn't like html in the xslt. > Replace

RE: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
: fop-users@xmlgraphics.apache.org Subject: AW: ValidationException: Document is empty Hi Eric, Indeed, the xml is nearly empty, but I'd expect a one-page document with one flow and one block inside. Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutens

AW: ValidationException: Document is empty

2010-12-07 Thread Georg Datterl
llmycc.de -Ursprüngliche Nachricht- Von: Eric Douglas [mailto:edoug...@blockhouse.com] Gesendet: Dienstag, 7. Dezember 2010 16:05 An: fop-users@xmlgraphics.apache.org Betreff: RE: ValidationException: Document is empty That would be because your document is empty. Am I missing somet

RE: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
: AW: ValidationException: Document is empty Hi everybody, Since nobody yet provided an answer, let's make it easier to debug. Here are a really short xml and a really short and simple transformation. The call to fop is org.apache.fop.cli.Main -d -xml test/xml/billing.xml -xsl tes

AW: ValidationException: Document is empty

2010-12-07 Thread Georg Datterl
8:22 An: 'fop-users@xmlgraphics.apache.org' Betreff: ValidationException: Document is empty Hi folks, Another funny question from yours truly. It's been some time since our last quiz show and maybe this time we get a new winner. Anyway, here's todays problem: Given: * FOP

ValidationException: Document is empty

2010-12-03 Thread Georg Datterl
Hi folks, Another funny question from yours truly. It's been some time since our last quiz show and maybe this time we get a new winner. Anyway, here's todays problem: Given: * FOP 1.0, Batik 1.7, xmlgraphics-commons 1.4, xalan 2.7.1, xerxes 2.6.2, through maven, but I get the same results wit