forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Web Maestro Clay <>
Subject ODT - Graphics objects aren't created in subdirs
Date Wed, 07 Jun 2006 15:17:24 GMT
I'm having problems getting my image pipeline to work:

With the following code in input.xmap, the images are coming through  
in the ROOT directory (/), but in subdirectories, empty image files  
(0Kb) are created. For example, a JPG image embedded in the file / 
products/index.odt, causes the creation of a 0Kb JPG image file here:


Here's the pipeline:


     <!-- Image Pipeline -->
     <map:pipeline internal="true">
       <map:match pattern="openDocumentEmbeddedImage/zip-{1}.odt/file- 
         <map:read src="jar:file:///{lm:project.{1}!/{2}.{3}}" mime- 
type="image/{3}" />
       <map:match pattern="**/openDocumentEmbeddedImage/zip-{1}.odt/ 
         <map:read src="jar:file:///{lm:project.{1}/{2}!/{3}.{4}}"  
mime-type="image/{4}" />

Any ideas?

BTW, originally, I'd hoped to place *all* image files in the path:


But I had problems getting it to work. The current solution works (at  
least for files in the root directory).

Web Maestro Clay

My religion is simple. My religion is kindness.
-- HH Dalai Lama of Tibet

View raw message