error when using paradoxpdf - Urgent

error when using paradoxpdf - Urgent

Tuesday 13 July 2010 12:42:47 am - 4 replies

Author Message

Christian Rößler

Tuesday 13 July 2010 1:00:01 am

Hy,

if you read the errormessage carefully, you might spot this lines:

Output : ERROR: 'The element type "img" must be terminated by the matching end-tag "</img>".'

It seems your templates are a mess. ParadoxPDF needs well formed and valid xhtml. Open IMG-Tags without closing them does not really help parsing this structure to perform a pdf-rendering process.

View the generated xhtml-sourcecode, spot the errors, fix your templates, escape all userinput (perhaps you echo'ed a alt-tag for this image and the user typed in a " ?), clear the cache, try again.

A online html-validator might help.

It's not really paradoxPDF's fault. But it's engine (SAX) needs well formed xhtml/xml to perform a pdf creation.

Hope it helps.

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

viraj hoober

Thursday 15 July 2010 1:24:47 am

Hi christian,

can you please give me some information how i can tidy the html codes generated. eztidy could do the work but i could not download it. Can you please help me?

Christian Rößler

Thursday 15 July 2010 4:52:17 am

Hi christian,

can you please give me some information how i can tidy the html codes generated. eztidy could do the work but i could not download it. Can you please help me?

Tidy might help you a bit, but it would be best to fix the templates manually.
I don't know the extension ezTidy, thus cannot really help you there. Downloading seems straight forward. Get the archive from http://projects.ez.no/eztidy/downloads/unstables/eztidy_0_9 and follow the instructions in it. I also dont know what the best stragtegy might be using this extension.
ezTidy ships a template operator and an output filter if i see it correctly.

cheers, chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Christian Rößler

Thursday 15 July 2010 4:55:12 am

ahh, i currently see that this file you can download is not a tar.gz, its only a tar.

You can grab a corrected version from here: http://www.blackmill.de/downloads/eztidy_0.9.tar.gz

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.