: 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 PDF
: ValidationException: Document is empty
On 07.12.2010 16:39, Georg Datterl wrote:
?xml version=1.0 encoding=UTF-8?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xsl:variable name=A4_HEIGHT select='297mm'/
xsl:template match=ROOT
fo:root xmlns:fo
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
@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 1.0, Batik 1.7, xmlgraphics-commons 1.4, xalan
Subject: 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 test/xsl
-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 something here
@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
Gutenstetter Straße 8a
]
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 all lt; with and you get an empty document
...@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 html in the xslt.
Replace all lt; with and you get an empty document
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.apache.org
Subject: AW: ValidationException: Document is empty
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. My response included the corrected
xslt along with a PDF I got from FOP with it.
2) I'm not sure what you mean by valid xml. Your
On 12/07/2010 11:43 AM, Georg Datterl wrote:
I'm not quite sure WHO exactly complains. The original xslt (with
lt;) 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
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/2010 11:43 AM
[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 points
: ValidationException: Document is empty
Hi Eric,
I think you're a bit confused.
Oh yes.
1) FOP doesn't complain about anything. My response included the corrected
xslt along with a PDF I got from FOP with it.
I'm not quite sure WHO exactly complains. The original xslt (with lt;) works
fine if I use
On 07.12.2010 16:39, Georg Datterl wrote:
?xml version=1.0 encoding=UTF-8?
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xsl:variable name=A4_HEIGHT select='297mm'/
xsl:template match=ROOT
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
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
17 matches
Mail list logo