From: j-kong@chronopost.fr
Date: 07/10/2002 - 10:43
Bonjour à tous !
J'ai une feuille de style XSL banale qui transfert un fichier XML en PDF et elle
utilise une resource gaphique externe
<fo:external-graphic src="file:../images/LOG-COUL.BMP"/>
Je n'ai pas de problèle pour gégérer le fichier PDF sous la ligne de commande
dont le message de log est le suivant
FOP 0.20.1
using SAX parser org.apache.xerce
building formatting object tree
setting up fonts
[1] [2] [3]
[4] [5]
[6] [7] [8]
[9>]
[10>]
[11>]
[12>]
[13>]
[14>]
[15>]
[16>>>>>] [17>>]
[18>>>>>>]
[19>]
[20>]
[21>]
[22>]
[23>]
[24>]
[25>]
Parsing of document complete, sto
Initial heap size: 4196Kb
Current heap size: 6821Kb
Total memory used: 2624Kb
Memory use is indicative; no GC
These figures should not be use
Total time used: 12968ms
Pages rendererd: 25
Avg render time: 518ms/page
Par contre, dans une application Java (servlet), je n'arive pas à avoir le logo
dans mon fichier PDF et j'ai le message d'erreur suivant
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
[1] [2] [3] [4] [5] [6] [7] [8] [9>Error while creating area : Invalid Image
URL - error on relative URL : no protocol: null../images/LOG-COUL.BMP
] [10>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [11>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [12>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [13>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [14>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [15>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [16>>>>>Error while creating area : Invalid Image URL - error on relative URL
: no protocol: null../images/LOG-COUL.BMP
] [17>>Error while creating area : Invalid Image URL - error on relative URL :
no protocol: null../images/LOG-COUL.BMP
] [18>>>>>>Error while creating area : Invalid Image URL - error on relative URL
: no protocol: null../images/LOG-COUL.BMP
] [19>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [20>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [21>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [22>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [23>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [24>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
] [25>Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null../images/LOG-COUL.BMP
]Parsing of document complete, stopping renderer
Initial heap size: 11585Kb
Current heap size: 11756Kb
Total memory used: 170Kb
Memory use is indicative; no GC was performed
These figures should not be used comparatively
Total time used: 11507ms
Pages rendererd: 25
Avg render time: 460ms/page
toPDF: Durée(mm:ss,SSS) 00:48,410
Quelqu'un a-t-il déjà rencontré ce genre de problème ? Merci de vos réponses,
Cordialement!
______________________________________________
Jianxin KONG ( j-kong@chronopost.fr )
CHRONOPOST INTERNATIONAL
Dir. systèmes d'information
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:06 UTC
webmaster@xmlfr.org
|