Keiron,
now i got the pdf but still have the following problems:
1. the relative uri in fop.xml do not work. i get the following error from
the SAX parser:
>Task xslt - SAX ERROR:
> org.xml.sax.SAXParseException: Relative URI "design/intro.xml"; kann
nicht
>ohne eine Dokument-URI aufgel÷st werden.
>DEBUG 10001 [fop ] (): using SAX parser
org.apache.xerces.parsers.SAXPar
>ser
>Failed to open C:\workdir_cvs\xml-fop_cvs\docs\design\fop.pdf
>
>BUILD FAILED
unfortuately the error message is a terrible mix from german (but without
german umlauts) and english. the german parts translated back to english
probably mean:
'Relative URI "design/intro.xml"; can not be resoved without a
Document-URI.'
if i replace all relative URI with absolute ones starting with
file:///C:/workdir_cvs/xml-fop_cvs/docs/ then it works up to this problem:
2. beside some warnings fop can not handle the external SVG's so that the
pdf has no images contained:
output from build.bat:
.......
[5
]
[1
]
[2
ERROR 10001 [fop ] (): ERROR LOADING EXTERNAL SVG: SAX2 driver class
org
.apache.xerces.parsers.SAXParser not found
Error while creating area : No ImageReader for this type of image
(file:page.svg
)
]
[3
]
[4
ERROR 10001 [fop ] (): ERROR LOADING EXTERNAL SVG: SAX2 driver class
org
.apache.xerces.parsers.SAXParser not found
Error while creating area : No ImageReader for this type of image
(file:float.sv
g)
]
[5
]
[6
]
[7
]
[8
]
[9
]
[10
]
Parsing of document complete, stopping renderer
Initial heap size: 8895Kb
Current heap size: 8776Kb
Total memory used: -118Kb
Memory use is indicative; no GC was performed
These figures should not be used comparatively
Total time used: 5388ms
Pages rendererd: 15
Avg render time: 359ms/page
docs:
BUILD SUCCESSFUL
Total time: 19 seconds
Bodo
----- Original Message -----
From: "Keiron Liddle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 2:00 PM
Subject: Re: Design Tasks
> On Mon, 10 Sep 2001 13:57:30 Bodo Teichmann wrote:
> > Keiron,
> > i still have a little problem with the optional.jar.
> > runing build.bat gives me an:
> >
> > C:\workdir_cvs\xml-fop_cvs\docs\design\build.xml:49:
> > java.lang.ClassNotFoundExce
> > ption: org.apache.tools.ant.taskdefs.optional.TraXLiaison
> > error.
> >
> > looking into optional.jar, downloaded from
> > http://jakarta.apache.org/builds/jakarta-ant/release/v1.4/bin/
> > jakarta-ant-1.4-optional.jar (and placed into fops lib directroy)
> > tells me that there is no TraXLiaison class in package
> > org.apache.tools.ant.taskdefs.optional.
> > (i can only find a "XslpLiaison.class")
> > do you use a different version of "optional.jar" or do i need to
> > recompile
> > ant with special options?
> >
> > Bodo
>
> I have just changed it so that you don't need this jar, it uses the xslt
> task that is in the fop tools instead.
> So update your cvs and it should be a bit better.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]