Hi everybody, I am trying to include the snipped svg file (witch contains a gradient pattern) in a pdf file as either extrernal graphic or background image. If I use it as this, I get the following error: [ERROR] svg graphic could not be built: file:images/entete.fond.svg:-1 An I/O error occured while processing the URI 'file:images/entete.fond.svg#XMLID_1_' specified on the element <path> When I follow advises given in the faq (http://xml.apache.org/fop/faq.html#svg-url), I get a similar error (the file path may differ).
<snip> <?xml version="1.0" encoding="utf-8"?> <!-- Generator: Adobe Illustrator 10.0, SVG Export Plug-In . SVG Version: 3.0.0 Build 76) --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [ <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/"> <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/"> <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/"> <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/"> <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/"> <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/"> <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/"> <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/"> <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/"> <!ENTITY ns_svg "http://www.w3.org/2000/svg"> <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> ]> <svg xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;" i:viewOrigin="94.2998 803.6001" i:rulerOrigin="342 252" i:pageBounds="-342 1044 954 -252" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" width="463.4" height="58" viewBox="0 0 463.4 58" overflow="visible" enable-background="new 0 0 463.4 58" xml:space="preserve"> <metadata> <variableSets xmlns="&ns_vars;"> <variableSet varSetName="binding1" locked="none"> <variables></variables> <v:sampleDataSets xmlns="&ns_custom;" xmlns:v="&ns_vars;"></v:sampleDataSets> </variableSet> </variableSets> <sfw xmlns="&ns_sfw;"> <slices></slices> <sliceSourceBounds y="745.6" x="94.3" width="463.4" height="58" bottomLeftOrigin="true"></sliceSourceBounds> </sfw> </metadata> <g id="Calque_1" i:layer="yes" i:dimmedPercent="50" i:rgbTrio="#4F008000FFFF"> <linearGradient id="XMLID_1_" gradientUnits="userSpaceOnUse" x1="-913.4998" y1="807.936" x2="724.9003" y2="807.936" gradientTransform="matrix(0.2715 0 0 0.0354 257.3035 0.3991)"> <stop offset="0" style="stop-color:#DCE2E2"/> <stop offset="1" style="stop-color:#99A9AD"/> <a:midPointStop offset="0" style="stop-color:#DCE2E2"/> <a:midPointStop offset="0.5" style="stop-color:#DCE2E2"/> <a:midPointStop offset="1" style="stop-color:#99A9AD"/> </linearGradient> <path i:knockout="Off" fill="url(#XMLID_1_)" d="M463.4,19.5c-0.1-5.4-2.1-9.9-5.8-13.7c-3.8-3.7-8.3-5.7-13.6-5.8H0v38 c0.2,5.3,2.1,9.9,5.9,13.6c3.7,3.8,8.6,5.9,14.4,6.4h443.1V19.5z"/> </g> </svg> </snip> Cordialement, Pascal SANCHO --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
