[daisy] SVG to PDF

CampbellG at dfo-mpo.gc.ca CampbellG at dfo-mpo.gc.ca
Wed Jul 5 07:12:58 CDT 2006


Ok I  checked my cocoon.log file and here is the text of the error:

ERROR (2006-07-04) 14:24.15:302 [sitemap.serializer.fo2pdf.fop]
(/daisy/cgccms/g1/3.pdf) SocketListener0-2/MessageHandler: Error in
content-width property value '75%':
org.apache.fop.fo.expr.PropertyException: No conversion defined
WARN  (2006-07-04) 14:24.18:744 [sitemap.serializer.svg2png]
(/daisy/cgccms/ext/svg/svg-to-png?documentId=54&branch=main&language=default
&version=1&part=SvgData) SocketListener0-4/SVGBuilder: Unable to set
document base URI to null, will default to http://localhost/
java.net.MalformedURLException: unknown protocol: daisy 


Glenn Campbell
Acting Manager                         chef par intérim
Informatics                                Informatique
Canadian Coast Guard College   Collège de la Garde côtière canadienne
Telephone : 902-567-3222           téléphone : 902-567-3222
Fax : 902-567-3232                    fax : 902-567-3232
 

-----Original Message-----
From: daisy-bounces at lists.cocoondev.org
[mailto:daisy-bounces at lists.cocoondev.org] On Behalf Of Bruno Dumon
Sent: July 4, 2006 5:05 PM
To: Daisy: open source CMS - general mailinglist
Subject: RE: [daisy] SVG to PDF

On Tue, 2006-07-04 at 14:49 -0400, CampbellG at dfo-mpo.gc.ca wrote:
> Ok, I am no longer getting the error message. I do get a .pdf file, 
> however my svg images are not being rendered in the pdf doc. I have 
> installed JAI under my FreeBSD with no problems and I even read the 
> document on extending daisy 1.4 (I'm using 1.5)Using the .xsl file 
> from Bruno's instructions yields the same result as the one that comes 
> with 1.5 (i.e no svg in the pdf
> file) Does anyonw know where I can check for a log? I am not using the 
> wrapper and my wiki session is not showing any error messages.

Any errors would be logged in the cocoon.log file in the log subdirectory of
your wikidata directory.

BTW, you can also test the rendering of the SVG directly by calling this
URL:

http://localhost:8888/daisy/<sitename>/ext/svg/svg-to-png?documentId=<id>&br
anch=main&language=default&version=live&part=SvgData

replace the hostname, <sitename> and <id> with appropriate values.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org

_______________________________________________
daisy community mailing list
Professional Daisy support:
http://outerthought.org/site/services/daisy/daisysupport.html
mail to: daisy at lists.cocoondev.org
list information: http://lists.cocoondev.org/mailman/listinfo/daisy


More information about the daisy mailing list