Re: Help required

2004-10-20 Thread Glen Mazza
Best to use the FOP-USER list for these questions, the
same people are on both list, but actually more can
help you on FOP-USER.  Also, please make your subject
line meaningful to help for later archive retrieval.

Glen


--- Sanket Desai <[EMAIL PROTECTED]> wrote:

> Hi there,
> 
> Can anyone guide me how to add hyphenation
> for Japanese
> language? I have got .tex file for SJIS i.e.
> SJIS.tex, but according
> to FOP's documentation, I need to convert it in .xml
> file. I don't
> know how to convert it. So, please guide for the
> same.
> 
> regards,
> 
> Sanket.
> 



Help required

2004-10-20 Thread Sanket Desai
Hi there,

Can anyone guide me how to add hyphenation for Japanese
language? I have got .tex file for SJIS i.e. SJIS.tex, but according
to FOP's documentation, I need to convert it in .xml file. I don't
know how to convert it. So, please guide for the same.

regards,

Sanket.


FOP hangs.. Need help

2004-09-15 Thread Jeyaprakash Natham








Version: 0.20.5

 

Issue: To convert a XSL-FO to PDF format, I am using the code
taken from ExampleFO2PDF.java available on http://xml.apache.org/fop/embedding.html#ExampleFO2PDF.

While running this code, it hangs.

 

Can someone help what could be the issue.

 

Note: The size of XSL-FO file is around 225MB.

 

Thanks

JP








RE: [Proposal] I volunteer to help with 0.20.6

2004-09-10 Thread Victor Mote
Anton Tagunov wrote:

> Perhaps Victor and/or some other patch authors would assist.

I wish I could help you, but I am blocked from development on that branch as
well.

Victor Mote



Re: [Proposal] I volunteer to help with 0.20.6, part II

2004-09-10 Thread Chris Bowditch
Anton Tagunov wrote:
amendment:
It really is not such a nonsense as it may seem, Tomcat
3.x.y piecfully co-exist with 4 and 4 coexists with 5.
The trouble is everyone always focuses on 0.20.x to the detriment of 1.0 
development. Going for the low hanging fruit in 0.20.x may help fix a few 
minor issues but you cant escape from the fact that keep-* properties cant be 
implemented there.

To reduce mess in the cvs if this proposal is wellcomed we
could create a svn subdir, something like
fop-0-20-2-maintain.
No one said there is a mess in CVS. I dont think there is a need to create a 
separate directory. A branch is fine.

Let me repeat again: I will ask PMC not to vote for the
release if I get bogged down into anything but most
simplisting bug fixing. Just go through Bugzilla and apply
most evident and simple patches. And then ask people: has
anthing become worse since 0.20.5.
The concern with allowing development of 0.20.x is not that we introduce 
regressions or that there are large changes. Simply, that it distracts from 
the real goal of FOP: getting the few simple bits finished in 1.0 so that we 
can do a release. And we really arent that far away. I reckon a developer with 
a good knowledge of the layout code could plug the main gaps in about 3-4 
months solid work.

(What really killed me in 0.20.5 were troubles with table
rendering when cells do have a background. And awt renderer
produced pour-quality images cause it used int-based
Graphics interface not a double-based one. And I have patch
for that too. But some other patches as simple is that are
floating around, some hyphenation patch.)
Chris



Re: [Proposal] I volunteer to help with 0.20.6

2004-09-10 Thread Chris Bowditch
Anton Tagunov wrote:
Hi, gang!
I'm Anton Tagunov, a committer with Avalon and Excalibur
apache projects. I'm afraid I have not been much active
withing these projects lately, but I've still got the commit
priviliges and an active apache account.
Welcome.
I have a full understanding of current situation @fop:
0_20_2 branch has been frozen and all efforts have been
directed at reacheing 1.0 release. On the other hand there
has not been a release for quite a while. The only thing
available to users is 0.20.5. And I do know that a massive
refactoring has happened on the path to 1.0. And I do know
that 0.20.5 code is a bit messy which in the beginning
caused the refactoring.
Well, thats not the full picture. Refactoring was started because it is too 
difficult to implement keep-* properties into the maintenance code because of 
it architecture. Hence a new architecture was thought up and hey presto: work 
begins on 1.0.

However, being practicle we (I work for Deutsche Bank now)
definetely need fop NOW. We do use 0.20.5. And we do have
local patches for it. I feel these patches may be of a
certain value to others too. Also I would also like to
leverage public review available with open source. Besides
we do have at least several patches against 0.20.5 flying
around cvs.
What a small world. My company is working with Deutsche bank (London) on a 
project involving FOP. At the moment they are our only customer who still work 
 with FOP. Most of our customers must have XEP to get keep-* properties. This 
is the one area that FOP really falls down on. If FOP had keep-* properties it 
would be used much more. That is why we must focus our energies on the redesign.


The mantra of 0.20.6 would be: no new features, not much
labor, go for low-hanging fruit and fix what is easy to fix
and for what patches are already available.
That should be relatively easy. Piece of cake.
In a way I agree with you, and it looks like you will be taking on most of the 
work for yourself, and thus minimising the distraction from HEAD development. 
But I would much rather you concentrated on HEAD. Doing more development of a 
frozen architecture is only going to encourage more users for a dead code base.

On the upside FOP project which has not had releases for
quite a while while gains some more visibility and showes it
is alive. 0.20.6 announcements will be accompanied with a
big fat comment that it is just a bug-fix and the real
paradize is expected with 1.0.
1.0 isnt a real paradise, more like a 0.3. Just 0.20 plus keep-* properties. 
Well, thats the goal. In reality theres going to be some regression on 0.20.x 
functionality.

I do understand the nature of software development. I do
understnad you're at 1.0-dev. I honestly hope some day I
will find enought time and enery to dig into that. But being
practical this is what I can offer fop community right now:
assistance in 0.20.6 release. Low-hanging fruit. Light bug
fixing.
I have to say I think I'm against doing a 0.20.6. I dont like being negative 
toward someone who wants to improve the code, but I think its for the best if 
1.0 stands a chance. And I know whats it like not having much time, most of 
the other committers are in the same boat. Yet we have all made at least some 
contributions towards the 1.0 effort. I would like to see you doing the same.


Chris


[Proposal] I volunteer to help with 0.20.6, part II

2004-09-10 Thread Anton Tagunov
amendment:

It really is not such a nonsense as it may seem, Tomcat
3.x.y piecfully co-exist with 4 and 4 coexists with 5.

To reduce mess in the cvs if this proposal is wellcomed we
could create a svn subdir, something like
fop-0-20-2-maintain.

Let me repeat again: I will ask PMC not to vote for the
release if I get bogged down into anything but most
simplisting bug fixing. Just go through Bugzilla and apply
most evident and simple patches. And then ask people: has
anthing become worse since 0.20.5.

(What really killed me in 0.20.5 were troubles with table
rendering when cells do have a background. And awt renderer
produced pour-quality images cause it used int-based
Graphics interface not a double-based one. And I have patch
for that too. But some other patches as simple is that are
floating around, some hyphenation patch.)

cheers,
Anton
-
http://mobile.ngs.ru/games - Java-игры для мобильников и не только...
http://love.ngs.ru - Знакомства в Новосибирске








[Proposal] I volunteer to help with 0.20.6

2004-09-10 Thread Anton Tagunov
Hi, gang!

I'm Anton Tagunov, a committer with Avalon and Excalibur
apache projects. I'm afraid I have not been much active
withing these projects lately, but I've still got the commit
priviliges and an active apache account.

I have a full understanding of current situation @fop:
0_20_2 branch has been frozen and all efforts have been
directed at reacheing 1.0 release. On the other hand there
has not been a release for quite a while. The only thing
available to users is 0.20.5. And I do know that a massive
refactoring has happened on the path to 1.0. And I do know
that 0.20.5 code is a bit messy which in the beginning
caused the refactoring.

However, being practicle we (I work for Deutsche Bank now)
definetely need fop NOW. We do use 0.20.5. And we do have
local patches for it. I feel these patches may be of a
certain value to others too. Also I would also like to
leverage public review available with open source. Besides
we do have at least several patches against 0.20.5 flying
around cvs.

To make a long story short this is what I propose:

* I go over bugzilla and collect reasonable patches
* I collect my own patches
* as I don't have carma for xml-fop I create one cummulative
patch available as www.apache.org/~atagunov/fop/patch.diff
* I create a 0.20.6-RC1 and make available at
www.apache.org/~atagunov
* this release candidate is accompanied with one question:
please make sure that there has been no degradation against
0.20.5
* announcement(s) are made via regular apache news channels
- [EMAIL PROTECTED], they go to planetapache, etc.
* after one or more release candidates some of the peoples
with appropriate carma commits changes to cvs (yes, I know
there may be issues with re-adding the files back around
xml-fop/src/org but that should be solvable one general
concensus is reached) and 0.20.6 is released

The mantra of 0.20.6 would be: no new features, not much
labor, go for low-hanging fruit and fix what is easy to fix
and for what patches are already available.

That should be relatively easy. Piece of cake.

On the upside FOP project which has not had releases for
quite a while while gains some more visibility and showes it
is alive. 0.20.6 announcements will be accompanied with a
big fat comment that it is just a bug-fix and the real
paradize is expected with 1.0.

I do understand the nature of software development. I do
understnad you're at 1.0-dev. I honestly hope some day I
will find enought time and enery to dig into that. But being
practical this is what I can offer fop community right now:
assistance in 0.20.6 release. Low-hanging fruit. Light bug
fixing.

Perhaps Victor and/or some other patch authors would assist.

Thoughts?

Anton Tagunov
www.apache.org/~atagunov
Deutsche Bank/Pushkin Project, Moscow, Russia
-
http://mobile.ngs.ru/games - Java-игры для мобильников и не только...
http://love.ngs.ru - Знакомства в Новосибирске








Re: urgent help needed using FOP

2004-04-02 Thread Jerry
Thanks for your help. Chris.

Have a nice weekend,


Jerry

--- Chris Bowditch <[EMAIL PROTECTED]> wrote:
> Jerry wrote:
> 
> > John,
> > 
> > Thank you for your message.
> > 
> > Yes, I realize the data in the byte array "bt" in
> tiff
> > does not belong to the standard formatting object.
> > That is why I got the error "content is not
> allowed in
> > prolog". My understanding is I need to either
> convert
> > it into the formatting object using XSL or convert
> it
> > into XML. However, I am new to FOP and XML/XSL and
> do 
> > not know how to do that. If possible, we need to
> > convert the data format in memory,that means,
> > everything is done in memory, not save it as a
> file
> > first and process using FOP.  Would you please
> give me
> > your thought on it or you have a piece of codes
> for me
> > to share? I will greatly appreciate  it.
> 
> Firstly, your question really should have been
> posted to the user-list. The 
> dev list is really for discussing internal work on
> FOP.
> 
> I believe your goal should be to create a servlet
> that serves Tiff images up. 
> You can reference the Tiff images from an XSL-FO
> document using a HTTP URL, 
> via the fo:external-graphic tag. FOP can then be
> called on the XSL-FO document 
> to generate a PDF, and you can do this within
> another servlet if you need to.
> 
> May I also suggest that you get yourself a good book
> on XSL-FO and learn the 
> basics before attempting to implement a solution
> based on XSL-FO.
> 
> 
> 
> Chris
> 
> 


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/


Re: urgent help needed using FOP

2004-04-02 Thread Chris Bowditch
Jerry wrote:

John,

Thank you for your message.

Yes, I realize the data in the byte array "bt" in tiff
does not belong to the standard formatting object.
That is why I got the error "content is not allowed in
prolog". My understanding is I need to either convert
it into the formatting object using XSL or convert it
into XML. However, I am new to FOP and XML/XSL and do 
not know how to do that. If possible, we need to
convert the data format in memory,that means,
everything is done in memory, not save it as a file
first and process using FOP.  Would you please give me
your thought on it or you have a piece of codes for me
to share? I will greatly appreciate  it.
Firstly, your question really should have been posted to the user-list. The 
dev list is really for discussing internal work on FOP.

I believe your goal should be to create a servlet that serves Tiff images up. 
You can reference the Tiff images from an XSL-FO document using a HTTP URL, 
via the fo:external-graphic tag. FOP can then be called on the XSL-FO document 
to generate a PDF, and you can do this within another servlet if you need to.

May I also suggest that you get yourself a good book on XSL-FO and learn the 
basics before attempting to implement a solution based on XSL-FO.



Chris




Re: urgent help needed using FOP

2004-04-01 Thread Jerry
John,

Thank you for your message.

Yes, I realize the data in the byte array "bt" in tiff
does not belong to the standard formatting object.
That is why I got the error "content is not allowed in
prolog". My understanding is I need to either convert
it into the formatting object using XSL or convert it
into XML. However, I am new to FOP and XML/XSL and do 
not know how to do that. If possible, we need to
convert the data format in memory,that means,
everything is done in memory, not save it as a file
first and process using FOP.  Would you please give me
your thought on it or you have a piece of codes for me
to share? I will greatly appreciate  it.

Thanks in advance,


Jerry

--- John Austin <[EMAIL PROTECTED]> wrote:
> On Thu, 2004-04-01 at 14:30, Jerry wrote:
> > Hi,
> > 
> > I am currently working on a
> > project which convert binary data in tiff format 
> into
> > PDF format. I refer to  the
> example(FopServlet.java)
> > and always got  error "Error 500: Content is
> > not allowed in prolog. ". I could not figure out
> what
> > the problem is.  I was stuch by this. Please help
> me.
> > 
> > Here is the peice of codes. Would you please take
> a
> > look and give me a suggestion. I will greatly
> > appreciate it.  
> > 
> > BTW, the binary data format from database which
> will
> > be displayed on the web is in tiff format, not a
> > formatting object. If it can be displayed directly
> on
> > the web in pdf format, it is not necessary to
> convert
> > it into pdf first.
> 
> It is not clear from your example whether your data
> is usable by
> FOP.
> 
> FOP is designed to process XML files, specifically
> XSL-FO or
> Formatting objects. 
> 
> You state on your message and in comments that the
> binary data is
> in a TIFF format. You move this data around,
> eventualy passing it
> to the FOP Driver object. I don't think this is at
> all reasonable
> as a TIFF object is definitely not going to be
> accepted by the SAX
> parser used in FOP.
> 
> You need to read the FOP examples again.
> 
> > thanks,
> > 
> > Jerry
> > 
> >
>
***
> > import javax.servlet.*;
> > import javax.servlet.http.*;
> > import java.io.*;
> > import java.util.*;
> > import java.util.zip.*;
> > import java.sql.*;
> > import java.text.*;
> > 
> > 
> > import java.net.*;
> > import java.util.Properties;
> > import java.awt.image.*;
> > import com.sun.media.jai.codec.*;
> > import com.sun.media.jai.*;
> > import javax.media.jai.JAI;
> > import javax.media.jai.*;
> > import javax.media.jai.RenderedOp;
> > import javax.media.jai.PlanarImage;
> > import javax.media.jai.OpImage;
> > import javax.media.jai.util.*;
> > import
> > javax.media.jai.remote.SerializableRenderedImage;
> > import java.awt.image.renderable.ParameterBlock;
> > import java.lang.Object;
> > import java.awt.Image;
> > import javax.swing.ImageIcon;
> > import java.io.ByteArrayOutputStream.*;
> > 
> > 
> > import com.csi.utils.StringUtils;
> > import com.csi.daserver.global.*;
> > import com.csi.dcserver.objects.DCSession;
> > import com.csi.dcserver.exceptions.*;
> > import com.csi.daserver.utils.MsgPool;
> > import com.csi.dcserver.crypto.Crypto;
> > 
> > 
> > import org.xml.sax.InputSource;
> > 
> > import org.apache.fop.apps.Driver;
> > import org.apache.fop.apps.XSLTInputHandler;
> > import org.apache.fop.messaging.MessageHandler;
> > 
> > import
> > org.apache.avalon.framework.logger.ConsoleLogger;
> > import org.apache.avalon.framework.logger.Logger;
> > 
> > 
> > public class ImageDownload extends HttpServlet {
> > 
> > Logger log = null;
> > 
> > public void doGet(HttpServletRequest req,
> > HttpServletResponse resp) throws ServletException,
> > IOException {
> > 
> > ...
> > 
> > //got the binary data in tiff format from
> database
> > and put the binary data in byte array bt
> > Byte[] bt = (byte[]) v.elementAt(0);
> > 
> > sendPDFBinaryResponse(resp, req, bt,
> > "application/pdf");
> > return;
> >   }
> > }
> > 
> > //
> > private void
> > sendPDFBinaryResponse(HttpServletResponse
> > res,HttpServletRequest req, byte[]
> >

Re: urgent help needed using FOP

2004-04-01 Thread John Austin
On Thu, 2004-04-01 at 14:30, Jerry wrote:
> Hi,
> 
> I am currently working on a
> project which convert binary data in tiff format  into
> PDF format. I refer to  the example(FopServlet.java)
> and always got  error "Error 500: Content is
> not allowed in prolog. ". I could not figure out what
> the problem is.  I was stuch by this. Please help me.
> 
> Here is the peice of codes. Would you please take a
> look and give me a suggestion. I will greatly
> appreciate it.  
> 
> BTW, the binary data format from database which will
> be displayed on the web is in tiff format, not a
> formatting object. If it can be displayed directly on
> the web in pdf format, it is not necessary to convert
> it into pdf first.

It is not clear from your example whether your data is usable by
FOP.

FOP is designed to process XML files, specifically XSL-FO or
Formatting objects. 

You state on your message and in comments that the binary data is
in a TIFF format. You move this data around, eventualy passing it
to the FOP Driver object. I don't think this is at all reasonable
as a TIFF object is definitely not going to be accepted by the SAX
parser used in FOP.

You need to read the FOP examples again.

> thanks,
> 
> Jerry
> 
> ***
> import javax.servlet.*;
> import javax.servlet.http.*;
> import java.io.*;
> import java.util.*;
> import java.util.zip.*;
> import java.sql.*;
> import java.text.*;
> 
> 
> import java.net.*;
> import java.util.Properties;
> import java.awt.image.*;
> import com.sun.media.jai.codec.*;
> import com.sun.media.jai.*;
> import javax.media.jai.JAI;
> import javax.media.jai.*;
> import javax.media.jai.RenderedOp;
> import javax.media.jai.PlanarImage;
> import javax.media.jai.OpImage;
> import javax.media.jai.util.*;
> import
> javax.media.jai.remote.SerializableRenderedImage;
> import java.awt.image.renderable.ParameterBlock;
> import java.lang.Object;
> import java.awt.Image;
> import javax.swing.ImageIcon;
> import java.io.ByteArrayOutputStream.*;
> 
> 
> import com.csi.utils.StringUtils;
> import com.csi.daserver.global.*;
> import com.csi.dcserver.objects.DCSession;
> import com.csi.dcserver.exceptions.*;
> import com.csi.daserver.utils.MsgPool;
> import com.csi.dcserver.crypto.Crypto;
> 
> 
> import org.xml.sax.InputSource;
> 
> import org.apache.fop.apps.Driver;
> import org.apache.fop.apps.XSLTInputHandler;
> import org.apache.fop.messaging.MessageHandler;
> 
> import
> org.apache.avalon.framework.logger.ConsoleLogger;
> import org.apache.avalon.framework.logger.Logger;
> 
> 
> public class ImageDownload extends HttpServlet {
> 
>   Logger log = null;
>   
>   public void doGet(HttpServletRequest req,
> HttpServletResponse resp) throws ServletException,
> IOException {
>   
>   ...
>   
>   //got the binary data in tiff format from database
> and put the binary data in byte array bt
>   Byte[] bt = (byte[]) v.elementAt(0);
>   
>   sendPDFBinaryResponse(resp, req, bt,
> "application/pdf");
>   return;
>   }
>   }
>   
>   //
>   private void
> sendPDFBinaryResponse(HttpServletResponse
> res,HttpServletRequest req, byte[]
> bt,StringsContTypeHeader) throws IOException,
> ServletException{
>   
>   
>   
>   if(sContTypeHeader=="application/pdf"){
> 
>   if (log == null) {
>   log = new
> ConsoleLogger(ConsoleLogger.LEVEL_WARN);
>   MessageHandler.setScreenLogger(log);
>}
> 
>   
>   renderFO(new InputSource(new
> ByteArrayInputStream(bt)), res);
> 
>   
>   }
> 
>}
>   
> 
>   
>   
>   
> public void renderFO(InputSource foFile,
> HttpServletResponse response) throws ServletException
> {
> try {
> ByteArrayOutputStream out = new
> ByteArrayOutputStream();
> 
>
> response.setContentType("application/pdf");
> 
> Driver driver = new Driver(foFile, out);
> driver.setLogger(log);
> driver.setRenderer(Driver.RENDER_PDF);
>  
> driver.run();
> 
> byte[] content = out.toByteArray();
> 
> 
> response.setContentLength(content.length);
> response.getOutputStream().write(content);
> response.getOutputStream().fl

urgent help needed using FOP

2004-04-01 Thread Jerry
Hi,

I am currently working on a
project which convert binary data in tiff format  into
PDF format. I refer to  the example(FopServlet.java)
and always got  error "Error 500: Content is
not allowed in prolog. ". I could not figure out what
the problem is.  I was stuch by this. Please help me.

Here is the peice of codes. Would you please take a
look and give me a suggestion. I will greatly
appreciate it.  

BTW, the binary data format from database which will
be displayed on the web is in tiff format, not a
formatting object. If it can be displayed directly on
the web in pdf format, it is not necessary to convert
it into pdf first.

thanks,

Jerry

***
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import java.util.zip.*;
import java.sql.*;
import java.text.*;


import java.net.*;
import java.util.Properties;
import java.awt.image.*;
import com.sun.media.jai.codec.*;
import com.sun.media.jai.*;
import javax.media.jai.JAI;
import javax.media.jai.*;
import javax.media.jai.RenderedOp;
import javax.media.jai.PlanarImage;
import javax.media.jai.OpImage;
import javax.media.jai.util.*;
import
javax.media.jai.remote.SerializableRenderedImage;
import java.awt.image.renderable.ParameterBlock;
import java.lang.Object;
import java.awt.Image;
import javax.swing.ImageIcon;
import java.io.ByteArrayOutputStream.*;


import com.csi.utils.StringUtils;
import com.csi.daserver.global.*;
import com.csi.dcserver.objects.DCSession;
import com.csi.dcserver.exceptions.*;
import com.csi.daserver.utils.MsgPool;
import com.csi.dcserver.crypto.Crypto;


import org.xml.sax.InputSource;

import org.apache.fop.apps.Driver;
import org.apache.fop.apps.XSLTInputHandler;
import org.apache.fop.messaging.MessageHandler;

import
org.apache.avalon.framework.logger.ConsoleLogger;
import org.apache.avalon.framework.logger.Logger;


public class ImageDownload extends HttpServlet {

Logger log = null;

public void doGet(HttpServletRequest req,
HttpServletResponse resp) throws ServletException,
IOException {

...

//got the binary data in tiff format from database
and put the binary data in byte array bt
Byte[] bt = (byte[]) v.elementAt(0);

sendPDFBinaryResponse(resp, req, bt,
"application/pdf");
return;
  }
}

//
private void
sendPDFBinaryResponse(HttpServletResponse
res,HttpServletRequest req, byte[]
bt,StringsContTypeHeader) throws IOException,
ServletException{



if(sContTypeHeader=="application/pdf"){

if (log == null) {
log = new
ConsoleLogger(ConsoleLogger.LEVEL_WARN);
MessageHandler.setScreenLogger(log);
 }


renderFO(new InputSource(new
ByteArrayInputStream(bt)), res);


}

 }
  

  
  
  
public void renderFO(InputSource foFile,
HttpServletResponse response) throws ServletException
{
try {
ByteArrayOutputStream out = new
ByteArrayOutputStream();

   
response.setContentType("application/pdf");

Driver driver = new Driver(foFile, out);
driver.setLogger(log);
driver.setRenderer(Driver.RENDER_PDF);
 
driver.run();

byte[] content = out.toByteArray();


response.setContentLength(content.length);
response.getOutputStream().write(content);
response.getOutputStream().flush();



} catch (Exception ex) {
throw new ServletException(ex);
}
}

...

}



This is the exact error I got:

org.xml.sax.SAXParseException: Content is not allowed
in prolog.
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1172)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at org.apache.fop.apps.Driver.run(Driver.java:565)



__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/


RE: Help with the sample FopServlet

2004-01-07 Thread Andreas L. Delmelle
> -Original Message-
> From: John Austin [mailto:[EMAIL PROTECTED]
> 

> I forget some of the servlet details too. I was a bit surprised by the
> assertion that placing readme.fo in $TOMCAT_ROOT/bin worked.

Yeah, puzzled me a bit as well in the OP. So there was my calculated guess.


> 
> I meant to post that to fop-dev but the 'reply-to' address pointed to
> you.

I see... Well, no harm done in any case. Better now?


Cheers,

Andreas


Re: AW: help with upload the ssh key

2004-01-03 Thread Peter B. West
Glen Mazza wrote:
Thanks, Peter, that helped a lot--I downloaded
puttygen and am working with it now.  Three more
questions if anyone can help:
1) I guess we're to use SSH2 and not SSH1, but does it
matter whether we use DSA or RSA?  Is one much slower
than the other?  I'll use DSA--it apparently works for
you and Joerg.
I don't know whether DSA or RSA is preferable, but SSH2 is definitely 
preferable to SSH1.

2) Also, you placed your public key in
"authorized_keys", not "authorized_keys2" like Joerg
has.  (Both of you are using DSA apparently.) Also,
PuttyGen seems to indicate that "authorized_keys" is
only for SSH1/RSA and "authorized_keys2" is for SSH2
(RSA or DSA version).  Does this matter--shouldn't you
have yours in "authorized_keys2"?
When I set mine up (at the same time as Joerg) I recall having to use 
authorized_keys2 (and biting off chunks of my keyboard discovering 
that.)  Since then, I think the situation has changed and the use of 
authorized_keys2 is deprecated (or so I was told recently on a RH9 list.)

3) To use Putty on my work computer (besides my one at
home--where I've just created the key), should I
create another private/public key pair, and append the
public key to my authorized_keys/keys2 file, or just
transfer my private key to the second computer (via
floppy disk, etc.)--what is the more usual/accepted
practice?
When I was working with Putty to a Linux server, I found that it was 
easiest to generate the keys on the linux machine, move the private key 
 to Windows, and use the import facility in Putty.

Work environments tend to be a bit insecure, especially it you are using 
pageant (or ssh-agent on linux) to save having to key in the passphrase. 
  If you are accessing the repository from both your work and home 
machines though, it doesn't seem to make much sense to have different keys.

I used the key i have already used for accessing
jfor's cvs repository at
sourceforge. I created the key about 6 month ago
with puttygen. I ran it on
my local computer (win2000 prof.).
But you cannot use the files which puttygen creates
when you click on one of
the save buttons. Instead i copy-and-pasted the
content of the "Public key
for pasting into OpenSSH authorized_keys2
file"-textbox.
Peter
--
Peter B. West <http://www.powerup.com.au/~pbwest/resume.html>


Re: AW: help with upload the ssh key

2004-01-01 Thread Glen Mazza
Thanks for your help.

Glen

--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> Glen Mazza wrote:
> > 1) I guess we're to use SSH2 and not SSH1,
> SSH1 and SSH2 are versions of the protocol, in
> particular
> the initial handshake. The SSH1 had a vulnerability.
> Which
> protocol is used is determined in the initial
> handshake,
> for compatibility. A prodent server administrator
> disables
> SSH1 for sshd.
> 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


Re: help with upload the ssh key

2004-01-01 Thread J.Pietschmann
Glen Mazza wrote:
Which tool did you finally use to create the SSH key,
and where do you run it?
Cygwin ssh-keygen.

Joerg, from what you're saying below, this is what we
use for our apache.org email address only, correct?
I'm not sure what you mean here.

Yes.  What is this SSH key for--Do we use ssh keygen
directly on cvs.apache.org to generate the DSA/RSA key
you're mentioning?  The newbie pages do not seem to
give any instruction on this.
Hmm, someone should write it up in the wiki.
The key is generated on the local machine. The private key
is stored in a location determined by the ssh client you
use. In order to get the public key onto the target machine,
log in, create the ~/.ssh directory, then scp the public key
to the appropriate file.
Private keys on remote machines not under your control are a
no-no.
J.Pietschmann


Re: AW: help with upload the ssh key

2004-01-01 Thread J.Pietschmann
Glen Mazza wrote:
1) I guess we're to use SSH2 and not SSH1,
SSH1 and SSH2 are versions of the protocol, in particular
the initial handshake. The SSH1 had a vulnerability. Which
protocol is used is determined in the initial handshake,
for compatibility. A prodent server administrator disables
SSH1 for sshd.
but does it
matter whether we use DSA or RSA?  Is one much slower
than the other?
I don't think it matters much. I vaguely remember DSA was
introduced because of the RSA, Inc. patent.
3) To use Putty on my work computer (besides my one at
home--where I've just created the key), should I
create another private/public key pair, and append the
public key to my authorized_keys/keys2 file, or just
transfer my private key to the second computer (via
floppy disk, etc.)--what is the more usual/accepted
practice?
It's probably a matter of taste. I personally would use two
keys. And I wouldn't use a key on my work machine unless I'm
totally and utterly sure it can't be compromised.
J.Pietschmann


Re: AW: help with upload the ssh key

2004-01-01 Thread Glen Mazza
Thanks, Peter, that helped a lot--I downloaded
puttygen and am working with it now.  Three more
questions if anyone can help:

1) I guess we're to use SSH2 and not SSH1, but does it
matter whether we use DSA or RSA?  Is one much slower
than the other?  I'll use DSA--it apparently works for
you and Joerg.

2) Also, you placed your public key in
"authorized_keys", not "authorized_keys2" like Joerg
has.  (Both of you are using DSA apparently.) Also,
PuttyGen seems to indicate that "authorized_keys" is
only for SSH1/RSA and "authorized_keys2" is for SSH2
(RSA or DSA version).  Does this matter--shouldn't you
have yours in "authorized_keys2"?

3) To use Putty on my work computer (besides my one at
home--where I've just created the key), should I
create another private/public key pair, and append the
public key to my authorized_keys/keys2 file, or just
transfer my private key to the second computer (via
floppy disk, etc.)--what is the more usual/accepted
practice?

Thanks,
Glen


--- Peter Herweg <[EMAIL PROTECTED]> wrote:
> > Which tool did you finally use to create the SSH
> key,
> > and where do you run it?
> > ...
> >
> > Thanks,
> > Glen
> 
> I used the key i have already used for accessing
> jfor's cvs repository at
> sourceforge. I created the key about 6 month ago
> with puttygen. I ran it on
> my local computer (win2000 prof.).
> But you cannot use the files which puttygen creates
> when you click on one of
> the save buttons. Instead i copy-and-pasted the
> content of the "Public key
> for pasting into OpenSSH authorized_keys2
> file"-textbox.
> 
> Kind regards
> Peter Herweg
> 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


AW: help with upload the ssh key

2004-01-01 Thread Peter Herweg
> Which tool did you finally use to create the SSH key,
> and where do you run it?
> ...
>
> Thanks,
> Glen

I used the key i have already used for accessing jfor's cvs repository at
sourceforge. I created the key about 6 month ago with puttygen. I ran it on
my local computer (win2000 prof.).
But you cannot use the files which puttygen creates when you click on one of
the save buttons. Instead i copy-and-pasted the content of the "Public key
for pasting into OpenSSH authorized_keys2 file"-textbox.

Kind regards
Peter Herweg



Re: help with upload the ssh key

2004-01-01 Thread Glen Mazza
--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> Peter Herweg wrote:
> > now that i got an cvs.apache.org account i'd need
> some help with uploading
> > the ssh key.
> ...

Which tool did you finally use to create the SSH key,
and where do you run it?

> > I also tried to generate a new public/private key
> pair with gpg. 

Joerg, from what you're saying below, this is what we
use for our apache.org email address only, correct?

> That works
> > but there is no private key file generated, which
> i have to pass to
> > putty/plink.
> > 
> > Do i even have to use gpg?
> 
> No. GPG/PGP is for encrypting/signing files and
> mails. There are currently
> three widely used public key schemes:
> GPG/PGP/OpenPGP, X.509 (certificates)
> and SSH, each using its own format for storing keys
> and associated information.
> Confused?
> 

Yes.  What is this SSH key for--Do we use ssh keygen
directly on cvs.apache.org to generate the DSA/RSA key
you're mentioning?  The newbie pages do not seem to
give any instruction on this.

Thanks,
Glen


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


AW: help with upload the ssh key

2004-01-01 Thread Peter Herweg
Yes, this works. Thank you!

> (wish you a happy new year by the way ;-)

Happy new year to you all.
Peter Herweg

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Bertrand Delacretaz
> Gesendet: Thursday, January 01, 2004 3:52 PM
> An: [EMAIL PROTECTED]
> Betreff: Re: help with upload the ssh key
>
>
> Le Jeudi, 1 jan 2004, à 15:36 Europe/Zurich, Peter Herweg a écrit :
>
> > ...Do i even have to use gpg? Or do i just have to copy the public key
> > file
> > into a directory?
>
> You just need to copy the public key file to a directory named .ssh in
> your $HOME on cvs.apache.org, here's what I have:
>
> ls -l $HOME/.ssh
> total 2
> -rw-r--r--  1 bdelacretaz  bdelacretaz  798 Jan 29  2003 authorized_keys
>
> ls -ld $HOME/.ssh
> drwxr-xr-x  2 bdelacretaz  bdelacretaz  512 Jan  1 06:49
> /home/bdelacretaz/.ssh
>
> (wish you a happy new year by the way ;-)
> -Bertrand
>



Re: help with upload the ssh key

2004-01-01 Thread J.Pietschmann
Peter Herweg wrote:
now that i got an cvs.apache.org account i'd need some help with uploading
the ssh key.
...
I also tried to convert my public key file into OpenSSH format, or create a
new public/private key pair using ssh-keygen but nothing works.
I also tried to generate a new public/private key pair with gpg. That works
but there is no private key file generated, which i have to pass to
putty/plink.
Do i even have to use gpg?
No. GPG/PGP is for encrypting/signing files and mails. There are currently
three widely used public key schemes: GPG/PGP/OpenPGP, X.509 (certificates)
and SSH, each using its own format for storing keys and associated information.
Confused?
Or do i just have to copy the public key file
into a directory?
Yes. It depends on whether you generated a DSA or a RSA key. I got a DSA
key and uploaded it into the _file_ ~/.ssh/authorized_keys2 (the name is
important and different from the filename used by ssh-keygen, on purpose,
you can use multiple public keys by concatenating them into this file)
The .ssh directory and the file should be world readable.
Do a web search on "ssh keygen", there are a few tutorials. I got mine
working this way, after nearly biting bits off my keyboard.
J.Pietschmann


Re: help with upload the ssh key

2004-01-01 Thread Bertrand Delacretaz
Le Jeudi, 1 jan 2004, à 15:36 Europe/Zurich, Peter Herweg a écrit :

...Do i even have to use gpg? Or do i just have to copy the public key 
file
into a directory?
You just need to copy the public key file to a directory named .ssh in 
your $HOME on cvs.apache.org, here's what I have:

ls -l $HOME/.ssh
total 2
-rw-r--r--  1 bdelacretaz  bdelacretaz  798 Jan 29  2003 authorized_keys
ls -ld $HOME/.ssh
drwxr-xr-x  2 bdelacretaz  bdelacretaz  512 Jan  1 06:49 
/home/bdelacretaz/.ssh

(wish you a happy new year by the way ;-)
-Bertrand


help with upload the ssh key

2004-01-01 Thread Peter Herweg
Hi,

now that i got an cvs.apache.org account i'd need some help with uploading
the ssh key.

I'd like to use putty for ssh access. So i logged in on cvs.apache.org,
copied my public key file (generated by puttygen) into my home directory and
tried to add it with gpg.
But all i get is the error "this is not a pgp file".

I also tried to convert my public key file into OpenSSH format, or create a
new public/private key pair using ssh-keygen but nothing works.
I also tried to generate a new public/private key pair with gpg. That works
but there is no private key file generated, which i have to pass to
putty/plink.

Do i even have to use gpg? Or do i just have to copy the public key file
into a directory?

Hope i did not blame myself with such a newbie question :-)

Any help appreciated.
Peter Herweg



RE: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Jeremy Nix
I never create a new Configuration.  Is this something that I should be
doing?  The only interaction I do with Configuration is: 

Configuration.put("baseDir", System.getProperty("user.dir"));


_
Jeremy Nix
Southwest Financial Services, LTD.
[EMAIL PROTECTED]
(513) 621-6699 ext.1158



-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 5:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Need help deciphering NullPointerException from FOP


Jeremy Nix wrote:
> I've reviewed the steps here (many times), and I pool a number of 
> Driver objects for my rendering.

The important question is: how do you handle Configuration?
Do you call new Configuration() more than once?

>  The only conclusion I could come up with was
> something with the precompiled xsl was causing my troubled.  I only 
> received this nullpointer exception when I pre-compiled my xsl 
> documents into templates objects and tried utilizing these templates 
> in a multi-threaded environment.

There's no hint this could be your problem, although XSLTC is known to
have bugs, including throwing unexpected NPEs.

J.Pietschmann



Re: Need help deciphering NullPointerException from FOP

2003-11-13 Thread J.Pietschmann
Jeremy Nix wrote:
I've reviewed the steps here (many times), and I pool a number of Driver
objects for my rendering.
The important question is: how do you handle Configuration?
Do you call new Configuration() more than once?
 The only conclusion I could come up with was
something with the precompiled xsl was causing my troubled.  I only
received this nullpointer exception when I pre-compiled my xsl documents
into templates objects and tried utilizing these templates in a
multi-threaded environment.
There's no hint this could be your problem, although XSLTC is
known to have bugs, including throwing unexpected NPEs.
J.Pietschmann



Re: Need help deciphering NullPointerException from FOP

2003-11-13 Thread J.Pietschmann
J.Pietschmann wrote:
It is: the exception is thrown in the code which reads user
fonts from the config file.
Ow - scratch that. The exception originates while writing font
ressources to the PDF. But I still think it's a problem with
overwriting the configuration.
J.Pietschmann



RE: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Jeremy Nix
I've reviewed the steps here (many times), and I pool a number of Driver
objects for my rendering.  The only conclusion I could come up with was
something with the precompiled xsl was causing my troubled.  I only
received this nullpointer exception when I pre-compiled my xsl documents
into templates objects and tried utilizing these templates in a
multi-threaded environment.  When I go back to my old way of simply
caching the XslSource's for each xsl document, I receive no errors when
running multiple threads.


_
Jeremy Nix
Southwest Financial Services, LTD.
[EMAIL PROTECTED]
(513) 621-6699 ext.1158



-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 4:10 PM
To: [EMAIL PROTECTED]
Subject: Re: Need help deciphering NullPointerException from FOP


Jeremy Nix wrote:

> Yes, it is a multithreaded environment.

See
  http://xml.apache.org/fop/embedding.html#multithreading

J.Pietschmann



Re: Need help deciphering NullPointerException from FOP

2003-11-13 Thread J.Pietschmann
Jeremy Nix wrote:

Yes, it is a multithreaded environment. 
See
 http://xml.apache.org/fop/embedding.html#multithreading
J.Pietschmann



Re: Need help deciphering NullPointerException from FOP

2003-11-13 Thread J.Pietschmann
Chris Bowditch wrote:
Not 100% certain that configuration is the problem,
It is: the exception is thrown in the code which reads user
fonts from the config file.
All relevant methods on the Driver are synchronized, as well
as the static image functions, they can't cause trouble any
more (except being a significant bottleneck under heavy load,
aka pain-in-the-ass, because you can't use the time while
an image is loaded for working on another image).
J.Pietschmann




RE: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Chris Bowditch
From: "Jeremy Nix" <[EMAIL PROTECTED]>

Yes, it is a multithreaded environment.
Fop version: 0.20.5
JDK version: 1.4.1_01
O/S: Win2000
So would this be caused by 2 threads using the same instance of a
Driver, or 2 threads using the same instance of a compiled template, or
something else?
It doesnt matter if different threads are using different instances of 
Driver or not, either way both threads will be using the same Configuration 
object because its members are all statics. Take a look at the source of 
Configuration.java for yourself.

Not 100% certain that configuration is the problem, but earlier versions of 
FOP were renowned for multi-threading problems. One of the committers, 
Jeremias, I think did a bunch of work to try and eliminate the problems. 
IIRC, he had some success, but there are still some potential "gaps"

Chris

_
Sign-up for a FREE BT Broadband connection today! 
http://www.msn.co.uk/specials/btbroadband



RE: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Jeremy Nix
Yes, it is a multithreaded environment. 
Fop version: 0.20.5
JDK version: 1.4.1_01
O/S: Win2000

So would this be caused by 2 threads using the same instance of a
Driver, or 2 threads using the same instance of a compiled template, or
something else?

_
Jeremy Nix
Southwest Financial Services, LTD.
[EMAIL PROTECTED]
(513) 621-6699 ext.1158



-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 9:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Need help deciphering NullPointerException from FOP


>From: "Jeremy Nix" <[EMAIL PROTECTED]>
>
>This NullPointerException appears to be coming from with the FOP 
>internals, but I'm unsure of what the actual cause is.  I was not 
>receiving this problem until I recently switched from XSLT to XSLTC, 
>and the problem does not always arise.  I'm caching both my compiled 
>templates, and my drivers, but the drivers I make sure to reset after 
>each use.  Just curious if someone else has come across this type of
>error:



>
>Caused by: java.lang.NullPointerException
>   at
>org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:240)
>   at
>org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:249
)
>   at
>org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:204
)
>   at
>org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:246)



Sounds like a threading issue. The configuration for FOP is held in
static 
variables. And since its falling over on the font stuff it sounds like
the 
statics are getting corrupted. Possibly by two simultaneous calls to the

Options constructor.

You didnt give much info on your environment, are running FOP in a 
Mulit-threaded environment? What version of FOP you are using. I'm
assuming 
0.20.5.

Chris

_
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger



Re: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Chris Bowditch
From: "Jeremy Nix" <[EMAIL PROTECTED]>

This NullPointerException appears to be coming from with the FOP
internals, but I'm unsure of what the actual cause is.  I was not
receiving this problem until I recently switched from XSLT to XSLTC, and
the problem does not always arise.  I'm caching both my compiled
templates, and my drivers, but the drivers I make sure to reset after
each use.  Just curious if someone else has come across this type of
error:


Caused by: java.lang.NullPointerException
at
org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:240)
at
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:249)
at
org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:204)
at
org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:246)


Sounds like a threading issue. The configuration for FOP is held in static 
variables. And since its falling over on the font stuff it sounds like the 
statics are getting corrupted. Possibly by two simultaneous calls to the 
Options constructor.

You didnt give much info on your environment, are running FOP in a 
Mulit-threaded environment? What version of FOP you are using. I'm assuming 
0.20.5.

Chris

_
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger



Need help deciphering NullPointerException from FOP

2003-11-13 Thread Jeremy Nix
This NullPointerException appears to be coming from with the FOP
internals, but I'm unsure of what the actual cause is.  I was not
receiving this problem until I recently switched from XSLT to XSLTC, and
the problem does not always arise.  I'm caching both my compiled
templates, and my drivers, but the drivers I make sure to reset after
each use.  Just curious if someone else has come across this type of
error:


--java.lang.NullPointerException
at
com.sfsltd.xml.FopTransformer.transform(FopTransformer.java:215)
at
com.sfsltd.documents.ValuationDocument.buildPDF(ValuationDocument.java:2
08)
at
com.sfsltd.utils.pnc.ValuationDocumentThread.run(ValuationDocumentThread
.java:34)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecuto
r.java:779)
at java.lang.Thread.run(Thread.java:536)
Root Cause of Exception: 
javax.xml.transform.TransformerException: java.lang.NullPointerException
at
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.ja
va:712)
at
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.ja
va:307)
at
com.sfsltd.xml.FopTransformer.transform(FopTransformer.java:211)
at
com.sfsltd.documents.ValuationDocument.buildPDF(ValuationDocument.java:2
08)
at
com.sfsltd.utils.pnc.ValuationDocumentThread.run(ValuationDocumentThread
.java:34)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecuto
r.java:779)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NullPointerException
at
org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:240)
at
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:249)
at
org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:204)
at
org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:246)
at
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.ja
va:222)
at com.sfsltd.documents.xsl.valuation.transform()
at
org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTransl
et.java:545)
at
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.ja
va:702)
... 6 more
-
java.lang.NullPointerException
at
org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:240)
at
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:249)
at
org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:204)
at
org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:246)
at
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.ja
va:222)
at com.sfsltd.documents.xsl.valuation.transform()
at
org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTransl
et.java:545)
at
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.ja
va:702)
at
org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.ja
va:307)
at
com.sfsltd.xml.FopTransformer.transform(FopTransformer.java:211)
at
com.sfsltd.documents.ValuationDocument.buildPDF(ValuationDocument.java:2
08)
at
com.sfsltd.utils.pnc.ValuationDocumentThread.run(ValuationDocumentThread
.java:34)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecuto
r.java:779)
at java.lang.Thread.run(Thread.java:536)
Orig Stack Trace: 
com.sfsltd.xml.FopTransformer.transform(FopTransformer.java:215)
com.sfsltd.documents.ValuationDocument.buildPDF(ValuationDocument.java:2
08)
com.sfsltd.utils.pnc.ValuationDocumentThread.run(ValuationDocumentThread
.java:34)
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecuto
r.java:779)
java.lang.Thread.run(Thread.java:536)

--

I can attach my implementation if necessary.


_
Jeremy Nix
Southwest Financial Services, LTD.
[EMAIL PROTECTED]
(513) 621-6699 ext.1158



RE: PAGE NUMBER HELP IN PDF

2003-03-20 Thread Shyam Sundar
Title: RE: PAGE NUMBER HELP IN PDF





thank you...
but i have multiple documents and it is generating errors .


cheers
shyam


-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 21, 2003 11:18 AM
To: [EMAIL PROTECTED]
Subject: Re: PAGE NUMBER HELP IN PDF



Shyam Sundar wrote:
> but the requirement is the ouptut should be like 1of 10 for the first page,2
> of 10 for the second page etc.


See
  http://xml.apache.org/fop/faq.html#fo_total_pages


J.Pietschmann



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





Re: PAGE NUMBER HELP IN PDF

2003-03-20 Thread J.Pietschmann
Shyam Sundar wrote:
but the requirement is the ouptut should be like 1of 10 for the first page,2
of 10 for the second page etc.
See
 http://xml.apache.org/fop/faq.html#fo_total_pages
J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


PAGE NUMBER HELP IN PDF

2003-03-20 Thread Shyam Sundar
Title: PAGE NUMBER HELP IN PDF





hi,


i need some help regarding page numbers in pdf output.


i have a pdf which spans for 10 pages. i am able to print page numbers for every page.


but the requirement is the ouptut should be like 1of 10 for the first page,2 of 10 for the second page etc.


can anyone help me.ASAP


CHEERS
shyam






Re: Build problems... please help/advise...

2003-03-13 Thread Jeremias Maerki
(Comments inline)

On 14.03.2003 07:05:08 Robert Kylberg wrote:
> Keiron,
> 
> Great! Thanks for the recommendation... indeed I had an older version 
> of Batik sneaking into the build; tricky jars :-) In case anyone has 
> this trouble in the future, I was able to figure out which jar was 
> being loaded by editing the build.xml file line 401 from:
> 
>  deprecation="${deprecation}" optimize="${optimize}">
> 
> to be:
> 
>  deprecation="${deprecation}" optimize="${optimize}">

You can get that easier by specifying "build -verbose" on the command
line. No modification of the build.xml necessary.

> Now, the compile is going through but I'm hanging on 
> SerializeHyphPattern (here's the dump...):
> 
> compile-src:
>   [echo] Compiling the sources
>  [javac] Compiling 7 source files to 
> /Users/bkylberg/Projects/xml-fop/build/classes
> 
> compile-jimi:
> 
> compile-jai:
> 
> compile-jce:
> 
> compile:
> 
> hyphenation:
> 
> BUILD FAILED
> file:/Users/bkylberg/Projects/xml-fop/build.xml:446: taskdef class 
> org.apache.fop.tools.anttasks.SerializeHyphPattern cannot be found
>
> I noticed that Sam Ruby had a similar problem and Jeremias apparently 
> corrected it; but I'm not sure how. Any recommendations?

:-) I wasn't really Sam Ruby who had a problem, it was Gump
(http://jakarta.apache.org/gump) that had problems and it was Gump that
sent a nag mail to the mailing list notifying us of a build problem. The
problem is probably unrelated to what you're experiencing.

Are you using Ant 1.4 or older? Maybe it's because of that. Anyway, if
you don't have anything in your CLASSPATH environment variable (which is
usually a bad idea) and are using the build.bat script we supply you
shouldn't have any problems building FOP.

If you have problems building it's usually a good idea to try "build
clean" followed by "build" to force a full rebuild. The above seems to
be a partial build.

Good luck.

Jeremias Maerki

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Re: Build problems... please help/advise...

2003-03-13 Thread Robert Kylberg
Keiron,

Great! Thanks for the recommendation... indeed I had an older version of Batik sneaking into the build; tricky jars :-) In case anyone has this trouble in the future, I was able to figure out which jar was being loaded by editing the build.xml file line 401 from:



to be:



Now, the compile is going through but I'm hanging on SerializeHyphPattern (here's the dump...):

compile-src:
[echo] Compiling the sources 
[javac] Compiling 7 source files to /Users/bkylberg/Projects/xml-fop/build/classes

compile-jimi:

compile-jai:

compile-jce:

compile:

hyphenation:

BUILD FAILED
file:/Users/bkylberg/Projects/xml-fop/build.xml:446: taskdef class org.apache.fop.tools.anttasks.SerializeHyphPattern cannot be found

I noticed that Sam Ruby had a similar problem and Jeremias apparently corrected it; but I'm not sure how. Any recommendations?

-- Bob


On Thursday, March 13, 2003, at 06:40  PM, Keiron Liddle wrote:

Hi,

I'm new to FOP, just joined the mailing list and I'm not sure what  
exactly is going on so I'd *really* appreciate it if someone could  
explain how to build FOP from the latest src (if it is even possible).  
I've been unable to build FOP from the src archive as of 3/11. A couple  
of the error messages I get are:

I just did a build and it seems fine.
The problem appears to be the version of batik that you have in the classpath.
The batik javadocs you are refering to below are from june and are probably 
outdated.
Make sure you are using the version of batik from cvs and there is no other batik 
in the classpath.


Re: Build problems... please help/advise...

2003-03-13 Thread Keiron Liddle
> Hi,
> 
> I'm new to FOP, just joined the mailing list and I'm not sure what  
> exactly is going on so I'd *really* appreciate it if someone could  
> explain how to build FOP from the latest src (if it is even possible).  
> I've been unable to build FOP from the src archive as of 3/11. A couple  
> of the error messages I get are:

I just did a build and it seems fine.
The problem appears to be the version of batik that you have in the classpath.
The batik javadocs you are refering to below are from june and are probably 
outdated.
Make sure you are using the version of batik from cvs and there is no other batik 
in the classpath.

> [javac]  
> /Users/bkylberg/Projects/xml-fop/src/java/org/apache/fop/image/ 
> analyser/SVGReader.java:204: Method createSVGDocument(java.lang.String,  
> java.io.InputStream) not found in class  
> org.apache.batik.dom.svg.SAXSVGDocumentFactory [javac]  
> SVGDocument doc = (SVGDocument) factory.createSVGDocument(uri, fis);
> 
> [javac]  
> /Users/bkylberg/Projects/xml-fop/src/java/org/apache/fop/render/ps/ 
> PSTextPainter.java:93: class org.apache.fop.render.ps.PSTextPainter  
> must be declared abstract. It does not define java.awt.geom.Rectangle2D  
> getBounds(org.apache.batik.gvt.TextNode) from interface  
> org.apache.batik.gvt.TextPainter.
> 
> and so on until the build fails...
> 
> The first error can be corrected by calling createDocument instead of  
> createSVGDocument. createSVGDocument is an undefined API on  
> SAXSVGDocumentFactory so I'm not sure how anyone has been able to  
> compile this (ref:  
> http://xml.apache.org/batik/javadoc/org/apache/batik/dom/svg/ 
> SAXSVGDocumentFactory.html ).
> 
> The second error is due to the fact that PSTextPainter claims to  
> implement TextPainter (ref:  
> http://xml.apache.org/batik/javadoc/org/apache/batik/gvt/ 
> TextPainter.html ) but is in fact missing API implementations, among  
> which getBounds is one. In fact I believe the implementation of  
> PSTextPainter.getOutline(TextNode node) is altogether wrong insofar as  
> PROXY_PAINTER isa StrokingTextPainter whose getOutline method takes a  
> TextNode *and* a boolean (ref:  
> http://xml.apache.org/batik/javadoc/org/apache/batik/gvt/renderer/ 
> StrokingTextPainter.html ).
> 
> According to the mailing list archives PSTextPainter was recently  
> submitted and added to the repository (ref:  
> http://marc.theaimsgroup.com/?l=fop-dev&m=104737262930539&w=2 and  
> http://marc.theaimsgroup.com/?l=fop-dev&m=104735385419249&w=2 ).
> 
> Perhaps everyone is using a different version of Java than I am ;-) but  
> if not, then I'm wondering how anyone is able to build FOP given these  
> defects? Am I the only one whose tried to build FOP from scratch in the  
> past 2 days?
> 
> Any advice would be greatly appreciated.
> 
> -- Bob
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Build problems... please help/advise...

2003-03-13 Thread Robert Kylberg
Hi,

I'm new to FOP, just joined the mailing list and I'm not sure what  
exactly is going on so I'd *really* appreciate it if someone could  
explain how to build FOP from the latest src (if it is even possible).  
I've been unable to build FOP from the src archive as of 3/11. A couple  
of the error messages I get are:

[javac]  
/Users/bkylberg/Projects/xml-fop/src/java/org/apache/fop/image/ 
analyser/SVGReader.java:204: Method createSVGDocument(java.lang.String,  
java.io.InputStream) not found in class  
org.apache.batik.dom.svg.SAXSVGDocumentFactory [javac]  
SVGDocument doc = (SVGDocument) factory.createSVGDocument(uri, fis);

[javac]  
/Users/bkylberg/Projects/xml-fop/src/java/org/apache/fop/render/ps/ 
PSTextPainter.java:93: class org.apache.fop.render.ps.PSTextPainter  
must be declared abstract. It does not define java.awt.geom.Rectangle2D  
getBounds(org.apache.batik.gvt.TextNode) from interface  
org.apache.batik.gvt.TextPainter.

and so on until the build fails...

The first error can be corrected by calling createDocument instead of  
createSVGDocument. createSVGDocument is an undefined API on  
SAXSVGDocumentFactory so I'm not sure how anyone has been able to  
compile this (ref:  
http://xml.apache.org/batik/javadoc/org/apache/batik/dom/svg/ 
SAXSVGDocumentFactory.html ).

The second error is due to the fact that PSTextPainter claims to  
implement TextPainter (ref:  
http://xml.apache.org/batik/javadoc/org/apache/batik/gvt/ 
TextPainter.html ) but is in fact missing API implementations, among  
which getBounds is one. In fact I believe the implementation of  
PSTextPainter.getOutline(TextNode node) is altogether wrong insofar as  
PROXY_PAINTER isa StrokingTextPainter whose getOutline method takes a  
TextNode *and* a boolean (ref:  
http://xml.apache.org/batik/javadoc/org/apache/batik/gvt/renderer/ 
StrokingTextPainter.html ).

According to the mailing list archives PSTextPainter was recently  
submitted and added to the repository (ref:  
http://marc.theaimsgroup.com/?l=fop-dev&m=104737262930539&w=2 and  
http://marc.theaimsgroup.com/?l=fop-dev&m=104735385419249&w=2 ).

Perhaps everyone is using a different version of Java than I am ;-) but  
if not, then I'm wondering how anyone is able to build FOP given these  
defects? Am I the only one whose tried to build FOP from scratch in the  
past 2 days?

Any advice would be greatly appreciated.

-- Bob

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Re: Help!!!

2003-03-11 Thread J.Pietschmann
Sidhartha Tripathy wrote:
hi 
i am using some unicode fonts in xml file and finally displaying that in pdf file  using fop

but i for some fonts i am getting squares i have downloaded unicode fonts and registered that in fop.

these are the fonts
」  タ  モ ‡
is there any solutions for that ?? another character that is also not coming is endash –.
Check whether your font has a glyph for the mentioned characters.
At least the 」 etc. seem to be fairly unusual ("ASCII variants,
full width"). The double ‡ (double dagger) shouldn't have
a problem with a proper Unicode font. I think none of the characters
will work with the any of the default fonts.
J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Help!!!

2003-03-11 Thread Sidhartha Tripathy



hi 
i am using some unicode fonts in xml file and finally 
displaying that in pdf file  using fop
 
but i for some fonts i am getting squares i have downloaded 
unicode fonts and registered that in fop.
 
these are the fonts

」  タ  モ 
‡
is there any solutions for that ?? another character that is 
also not coming is endash –.
plz suggest any way to print those characters.
Thanks
Sid
** Message from InterScan E-Mail VirusWall NT **

** No virus found in attached file noname.htm
** No virus found in attached file noname.htm

NO VIRUS FOUND: SERVER GENERATED MESSAGE
* End of message ***


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Re: Help with Forrest

2003-03-01 Thread Peter B. West
Jeremias,

Thanks for the Sourceforge reference.  It seems that the software is in 
the process of being donated to Apache, and is in the process of finding 
its way in to Alexandria.  It is currently unavailable there because of 
licencing issues.

I will ask on forrest-dev.

Peter

Jeremias Maerki wrote:
Not a specialist on Forrest or Cocoon, yet, but I think it probably
needs among other things an additional map:match element with a custom
stylesheet, such as the one for the compliance document. So if you
converted the HTML to XHTML you could probably write an XSLT stylesheet
to add the JavaScript stuff. Just what's going though my head. I hope it
helps anyway. Probably best if you asked on Forrest mailing list, too.
Is this what you're looking for? http://sourceforge.net/projects/javasrc/
--
Peter B. West  [EMAIL PROTECTED]  http://www.powerup.com.au/~pbwest/
"Lord, to whom shall we go?"
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Re: Help with Forrest

2003-02-28 Thread Jeremias Maerki
Not a specialist on Forrest or Cocoon, yet, but I think it probably
needs among other things an additional map:match element with a custom
stylesheet, such as the one for the compliance document. So if you
converted the HTML to XHTML you could probably write an XSLT stylesheet
to add the JavaScript stuff. Just what's going though my head. I hope it
helps anyway. Probably best if you asked on Forrest mailing list, too.

Is this what you're looking for? http://sourceforge.net/projects/javasrc/

On 28.02.2003 16:55:12 Peter B. West wrote:
> I have been able to eliminate the need for frames in my documantation by 
> getting dynamic inline frames to work in NS7.0, Mozilla 1.2.1 and IE6. 
> This requires that a javascript file be included in each of the affected 
> files.  I need some advice on how best to get this to work with Forrest. 
>   Do I need to include some form of redundant lining to the htmlized 
> code files?  Can I otherwise express such files (with javascript: links) 
> in XML?  Does anyone know how I can get JavaSRc that Nicola mentioned.
> 
> I would like to clean up the documentation as much as possible.



Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Help with Forrest

2003-02-28 Thread Peter B. West
I have been able to eliminate the need for frames in my documantation by 
getting dynamic inline frames to work in NS7.0, Mozilla 1.2.1 and IE6. 
This requires that a javascript file be included in each of the affected 
files.  I need some advice on how best to get this to work with Forrest. 
 Do I need to include some form of redundant lining to the htmlized 
code files?  Can I otherwise express such files (with javascript: links) 
in XML?  Does anyone know how I can get JavaSRc that Nicola mentioned.

I would like to clean up the documentation as much as possible.
--
Peter B. West  [EMAIL PROTECTED]  http://www.powerup.com.au/~pbwest/
"Lord, to whom shall we go?"
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Re: FOP performance - frustrating.. help!!

2002-12-28 Thread Joerg Pietschmann
On Friday 27 December 2002 22:57, "Lee, Insoo" wrote:
> [run] org.apache.xalan.xslt.Process -IN rates.xml -XSL rates_pdf.xsl -OUT
> rates.fo
>
> this step took about 1 minute...

You seem to use a seriously underpowered machine, or you've complicated
the transformation too much. I routinely transform 1MB files on moderatly
modern hardware in less than 10s.

> Here is the lengthy my FO file... (only 1/3  of it.. since it's over 1MB)

You should not send XML as mail content, it's mangled:
> extent="0.5cm"/>u ence master-reference="anypage">


RE: FOP performance - frustrating.. help!!

2002-12-27 Thread jthaemlitz

I also have speed issues, but not this bad.  One thing I do is put a block
around the whole table that sets up my default font.  Not sure if this will
help you any, but it'll clean up the code a little.  Also can you specify
the font you want, like "Helvetica" instead of "Helvetica, Arial, sans".
Just some little things that may help a little.

...


...


...


Hope this helps,

JPT



|-+-->
| |   fop-dev-return-18504-jthaemlitz=oreillyauto.com@XML|
| |   .APACHE.ORG|
| |  |
| |   12/27/02 03:57 PM  |
| |   Please respond to fop-dev  |
| |  |
|-+-->
  >--|
  |  |
  |   To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>  |
  |   cc:    |
  |   Subject:  RE: FOP performance - frustrating.. help!!   |
  >--|





nyamdweb03:/home/leeins/weblogic/myserver/public_html/fd/xml$java -cp
/home/leeins/weblogic/3rd_party_jars_SUN/xalan.jar:$CLASSPATH
org.apache.xalan.xslt.Process -IN rates.xml -XSL rates_pdf.xsl -OUT
rates.fo

this step took about 1 minute...

Here is the lengthy my FO file... (only 1/3  of it.. since it's over 1MB)
Could somebody shed some lights? What am I doing wrong?
Apologies for the large/messy posting...  (choose no-wrap to see it
better...)
Thanks much!



http://www.w3.org/1999/XSL/Format
">Rates16 Oct 2002 to
 16 Oct 2002
 Created by RYDERS
   on 05/10/2002
   at 20:55:2
   (CT)
 
 Active EUR Funds


   Fund
 
   Date
 
   Daily Factor
 
 1-Day Yield (365 Day Rate)
 
Short

Long
 
   360 Day
 
Rates

   7-Day

Current

Yield

   7-Day
 
Effective

Yield

   30-Day
 
   Yield
 
   NAV1
 (EUR)


TBA
ILA Federal Admin -
  4139 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.10 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.11 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.12 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.13 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.14 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.15 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.
TBA
ILA Federal Inst -
  4129 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.10 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.11 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.12 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.13 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.14 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.15 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.
TBA
ILA Federal Service -
  4149 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.10 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.11 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.12 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.13 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.14 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.15 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.
TBA
ILA Money Market Admin -
  4109 Dec
20020.28934001.051.05609101.041624000NA1.080001.205501.10 Dec
20020.28934001.051.05609101.041624000NA1.080001.205501.11 Dec
2

RE: FOP performance - frustrating.. help!!

2002-12-27 Thread Lee, Insoo

nyamdweb03:/home/leeins/weblogic/myserver/public_html/fd/xml$java -cp
/home/leeins/weblogic/3rd_party_jars_SUN/xalan.jar:$CLASSPATH
org.apache.xalan.xslt.Process -IN rates.xml -XSL rates_pdf.xsl -OUT rates.fo

this step took about 1 minute...
 
Here is the lengthy my FO file... (only 1/3  of it.. since it's over 1MB)
Could somebody shed some lights? What am I doing wrong? 
Apologies for the large/messy posting...  (choose no-wrap to see it
better...)
Thanks much!
 
 

http://www.w3.org/1999/XSL/Format";>Rates16 Oct 2002 to
 16 Oct 2002
 Created by RYDERS
   on 05/10/2002
   at 20:55:2
   (CT)
 
 Active EUR Funds
 

   Fund
 
   Date
 
   Daily Factor
 
 1-Day Yield (365 Day Rate)
 
Short 
  
Long
 
   360 Day
 
Rates

   7-Day

Current

Yield

   7-Day
 
Effective

Yield

   30-Day
 
   Yield
 
   NAV1
 (EUR)
 

TBA
ILA Federal Admin - 
  4139 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.10 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.11 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.12 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.13 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.14 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.15 Dec
20020.30112001.091.09908801.084032000NA1.090001.188401.
TBA
ILA Federal Inst - 
  4129 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.10 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.11 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.12 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.13 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.14 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.15 Dec
20020.34222001.241.24910301.231992000NA1.240001.338401.
TBA
ILA Federal Service - 
  4149 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.10 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.11 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.12 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.13 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.14 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.15 Dec
20020.23263000.840.84909950.837468000NA0.84.938401.
TBA
ILA Money Market Admin - 
  4109 Dec
20020.28934001.051.05609101.041624000NA1.080001.205501.10 Dec
20020.28934001.051.05609101.041624000NA1.080001.205501.11 Dec
20020.28934001.051.05609101.041624000NA1.080001.205501.12 Dec
20020.28934001.051.05609101.041624000NA1.080001.205501.13 Dec
20020.28934001.051.05609101.041624000NA1.080001.205501.14 Dec
20020.28934001.051.05609101.041624000NA1.080001.205501.15 Dec
20020.28934001.051.05609101.041624000NA1.080001.205501.
TBA
ILA Money Market Service - 
  4119 Dec
20020.22085000.800.80610250.79506NA0.83.955501.10 Dec
20020.22085000.800.80610250.79506NA0.83.955501.11 Dec
20020.22085000.800.80610250.79506NA0.83.955501.12 Dec
20020.22085000.800.80610250.79506NA0.83.955501.13 Dec
20020.22085000.800.80610250.79506NA0.83.955501.14 Dec
20020.22085000.800.80610250.79506NA0.83.955501.15 Dec
20020.22085000.800.80610250.79506NA0.83.955501.
TBA
ILA Tax-Exempt California Admin - 


-Original Message-
From: Arnd Beißner [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 27, 2002 3:53 PM
To: [EMAIL PROTECTED]
Subject: RE: FOP performance - frustrating.. help!!


> Thanks for your reply... given XML and XSL, how would I generate FO so I 
can post it 

java -cp xalan-2.4.1.jar org.apache.xalan.xslt.Process -IN yourxml.xml 
-XSL yourxslt.xsl -OUT yoroutput.fo

The classpath is just an example - use the name of your xalan.jar

Arnd Beissner
--
Cappelino Informa

Antwort: FOP performance - frustrating.. help!!

2002-12-27 Thread Arnd Beißner
> It works well, but it works slow.
> It takes about 5 minutes for 1,000 rows and this is only for transformer
> translation (excluing any data query time or jdom XML building time)

When you prepare an actual FO file for us to see, please check how long
xalan takes for the xml->fo translation step. Just to make sure..

As for your XML file: you may want to try rewriting the elements below
the  node as attributes of the row node. Since you are generating the
files on the fly, this should improve performance a little. With 1000 row
elements, thats about 1 less nodes to process. If and how much this 
saves
depends on the DOM and xslt processor you use, of course.

In general, I find the 5 minutes you state a little long. FOP does have 
severe
performance problemes with large tables, but not that bad. We generate a 
30
page document of this kind in about 40 seconds on a 1Ghz Athlon.

One thing that you could try is to increase the java heap to 1024MB. 512MB 
is
not excessive for the kind of document you state. Maybe you don't get out 
of
memory messages so far, but if memory is tight, the JVM will garbage 
collect
a lot - and this is costly for FOP. Try to find a heap size where no 
garbage
collection is necessary during processing of a single document.

One other thing: If you generate PDFs that are costly in terms of CPU 
and/or memory,
think about generating the PDFs in the background, then email them to your
web site's visitors. If your use case could live with that, I'd go that 
route.
Even with a FOP that's 20 times faster, you'll have a hard time 
guaranteeing
a certain quality of service for your web site. At the very least, you'd 
have
to use a rendering queue with a pool of renderers since you don't have 
infinite
memory (I suppose).

Hope this helps,

Arnd Beissner
--
Cappelino Informationstechnologie GmbH
Arnd Beißner

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: FOP performance - frustrating.. help!!

2002-12-27 Thread Arnd Beißner
> Thanks for your reply... given XML and XSL, how would I generate FO so I 
can post it 

java -cp xalan-2.4.1.jar org.apache.xalan.xslt.Process -IN yourxml.xml 
-XSL yourxslt.xsl -OUT yoroutput.fo

The classpath is just an example - use the name of your xalan.jar

Arnd Beissner
--
Cappelino Informationstechnologie GmbH
Arnd Beißner


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: FOP performance - frustrating.. help!!

2002-12-27 Thread Lee, Insoo
Title: FOP performance - frustrating.. help!!



Thanks for your reply... given XML and XSL, how would I generate FO so I 
can post it 
Thanks

  -Original Message-From: Rhett Aultman 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, December 27, 2002 
  3:35 PMTo: [EMAIL PROTECTED]Subject: RE: FOP 
  performance - frustrating.. help!!
  Really, what rows look like in XML is not helpful to us.  What is 
  helpful is seeing the FO, since FOP tranforms from the FO and not really from 
  the XML.  You may be using FO markup that's making the transformation and 
  rendering costly, but we wouldn't be able to tell you for sure without seeing 
  the FO.
  
-Original Message-From: Lee, Insoo 
[mailto:[EMAIL PROTECTED]]Sent: Friday, December 27, 2002 3:34 
PMTo: '[EMAIL PROTECTED]'Subject: FOP performance 
- frustrating.. help!!
>   Hello, I'm getting a little frustrated with 
FOP performance.>   We are generating an XML on the fly 
that contains a few tables with> about 1,000 rows in 
total.>   We passdown this XML along with XSL to the 
transformer to generate PDF> from our servlet.>   
(transformer.transform( inXML, new SAXResult(> 
driver.getContentHandler()));  )>   It works well, but 
it works slow.>   It takes about 5 minutes for 1,000 rows 
and this is only for transformer> translation (excluing any data 
query time or jdom XML building time)>   I read through 
past emails/FAQs and I think I tried them all and it> still does not 
improve the performance...>>   Please 
help!!>  >   Here is what I have 
done.>>   1) run with more memory - yes I tried with 
512MB (I don't get> OutOfMemory error)>   2) run in 
separate VM - only helps other requests coming to the 
site>   3) try with the latest FOP - I did - mine is 
fop-0.20.4>   4) try with the latest xalan.jar and 
    xerces.jar - tried them, but no> improvement>   5) 
cache XSL style sheet - didn't really help...>   6) use 
multiple page-sequence - got it to work and I don't get> OutOfMemeory 
exception, but still performance didn't get 
better.>  (even 
if I break them into multiple page-sequences, I will still> have to 
read through one row at a time, right? - that's why performance is> 
not really improving..)>>   7) no forward-reference 
- I don't have any page numbers>   8) try with new JDK - 
trying with JDK 1.3>   9) seralize servlet request - 
haven't done this, but I doubt this will> have any performance impact 
(I'm testing with one request for now)>   10) no images - I 
don't have any...>   11) Don't make the XML tree too deep - 
mine is very flat with 2 levels> deep.>>   I 
have 1,000 rows and each row looks something like following in 
XML>>   > 
    
539> 
    Some 
Fund>     
0.376> 
    
NA> 
    
NA> 
    
NA>   
  NA> 
    
1.4> 
    
1.58000> 
    
1.>   
  09 Dec 2002> 
    
USD>   
  I>   
>  >>   Here is the 
question:> Is this normal to take this long - 
5 minutes - to produce a few tables> with combined total 1,000 rows 
(about 30 pages)?>> Any other better 
way?>>   Thank you for your 
suggestions.>>   Regards,>   
IL-To 
unsubscribe, e-mail: [EMAIL PROTECTED]For additional 
commands, email: 
[EMAIL PROTECTED]


RE: FOP performance - frustrating.. help!!

2002-12-27 Thread Rhett Aultman
Title: FOP performance - frustrating.. help!!



Really, what rows look like in XML is not helpful to us.  What is 
helpful is seeing the FO, since FOP tranforms from the FO and not really from 
the XML.  You may be using FO markup that's making the transformation and 
rendering costly, but we wouldn't be able to tell you for sure without seeing 
the FO.

  -Original Message-From: Lee, Insoo 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, December 27, 2002 3:34 
  PMTo: '[EMAIL PROTECTED]'Subject: FOP performance - 
  frustrating.. help!!
  >   Hello, I'm getting a little frustrated with 
  FOP performance.>   We are generating an XML on the fly that 
  contains a few tables with> about 1,000 rows in 
  total.>   We passdown this XML along with XSL to the 
  transformer to generate PDF> from our servlet.>   
  (transformer.transform( inXML, new SAXResult(> 
  driver.getContentHandler()));  )>   It works well, but 
  it works slow.>   It takes about 5 minutes for 1,000 rows and 
  this is only for transformer> translation (excluing any data query time 
  or jdom XML building time)>   I read through past emails/FAQs 
  and I think I tried them all and it> still does not improve the 
  performance...>>   Please 
  help!!>  >   Here is what I have 
  done.>>   1) run with more memory - yes I tried with 
  512MB (I don't get> OutOfMemory error)>   2) run in 
  separate VM - only helps other requests coming to the site>   
  3) try with the latest FOP - I did - mine is fop-0.20.4>   4) 
  try with the latest xalan.jar and xerces.jar - tried them, but no> 
  improvement>   5) cache XSL style sheet - didn't really 
  help...>   6) use multiple page-sequence - got it to work and 
  I don't get> OutOfMemeory exception, but still performance didn't get 
  better.>  (even if 
  I break them into multiple page-sequences, I will still> have to read 
  through one row at a time, right? - that's why performance is> not 
  really improving..)>>   7) no forward-reference - I 
  don't have any page numbers>   8) try with new JDK - trying 
  with JDK 1.3>   9) seralize servlet request - haven't done 
  this, but I doubt this will> have any performance impact (I'm testing 
  with one request for now)>   10) no images - I don't have 
  any...>   11) Don't make the XML tree too deep - mine is very 
  flat with 2 levels> deep.>>   I have 1,000 rows 
  and each row looks something like following in XML>>   
  >     
  539> 
      Some 
  Fund>     
  0.376> 
      
  NA> 
      
  NA> 
      
  NA>   
    NA> 
      
  1.4> 
      
  1.58000> 
      
  1.>   
    09 Dec 2002> 
      
  USD>   
    I>   
  >  >>   Here is the 
  question:> Is this normal to take this long - 5 
  minutes - to produce a few tables> with combined total 1,000 rows 
  (about 30 pages)?>> Any other better 
  way?>>   Thank you for your 
  suggestions.>>   Regards,>   
  IL-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For additional 
  commands, email: 
[EMAIL PROTECTED]


FOP performance - frustrating.. help!!

2002-12-27 Thread Lee, Insoo


>   Hello, I'm getting a little frustrated with FOP performance.
>   We are generating an XML on the fly that contains a few tables with
> about 1,000 rows in total.
>   We passdown this XML along with XSL to the transformer to generate PDF
> from our servlet.
>   (transformer.transform( inXML, new SAXResult(
> driver.getContentHandler()));  )
>   It works well, but it works slow.
>   It takes about 5 minutes for 1,000 rows and this is only for transformer
> translation (excluing any data query time or jdom XML building time)
>   I read through past emails/FAQs and I think I tried them all and it
> still does not improve the performance...
> 
>   Please help!!
>   
>   Here is what I have done.
> 
>   1) run with more memory - yes I tried with 512MB (I don't get
> OutOfMemory error)
>   2) run in separate VM - only helps other requests coming to the site
>   3) try with the latest FOP - I did - mine is fop-0.20.4
>   4) try with the latest xalan.jar and xerces.jar - tried them, but no
> improvement
>   5) cache XSL style sheet - didn't really help...
>   6) use multiple page-sequence - got it to work and I don't get
> OutOfMemeory exception, but still performance didn't get better.
>  (even if I break them into multiple page-sequences, I will still
> have to read through one row at a time, right? - that's why performance is
> not really improving..)
> 
>   7) no forward-reference - I don't have any page numbers
>   8) try with new JDK - trying with JDK 1.3
>   9) seralize servlet request - haven't done this, but I doubt this will
> have any performance impact (I'm testing with one request for now)
>   10) no images - I don't have any...
>   11) Don't make the XML tree too deep - mine is very flat with 2 levels
> deep.
> 
>   I have 1,000 rows and each row looks something like following in XML
> 
>   
> 539
> Some Fund
> 0.376
> NA
> NA
> NA
> NA
> 1.4
> 1.58000
> 1.
> 09 Dec 2002
> USD
> I
>   
>   
> 
>   Here is the question:
> Is this normal to take this long - 5 minutes - to produce a few tables
> with combined total 1,000 rows (about 30 pages)?
> 
> Any other better way?
> 
>   Thank you for your suggestions.
> 
>   Regards,
>   IL

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: need help regarding properties implementions

2002-11-27 Thread Peter B. West
Oleg Tkachenko wrote:

sri vela wrote:


I would like to know what are the properties that
people are working on.


I don't think the list exist. Almost all unimplemented properties 
require some kind of redesign of the code base, and that's exactly what 
we are working on.

The reason why i am asking is
because i am also planning to implement some
properties.


Everybody's invited, it's open source. Which properties are you talking 
about?


Sri,

There is a near complete complement of properties in Alt-Design.  Only 
some of the shorthands remain.  The application of properties to layout 
is another story.  Two approaches have been mooted.  1) Smart 
properties, in which the properties are contain the logic for applying 
them. 2) Dumb properties, in which the properties are, after parsing, 
simply a name/value pair, and it is up to the FOs, or whatever lays out 
the FOs, to apply those values.  Alt-Design takes the second view.

Peter
--
Peter B. West  [EMAIL PROTECTED]  http://www.powerup.com.au/~pbwest/
"Lord, to whom shall we go?"


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Re: need help regarding properties implementions

2002-11-27 Thread Oleg Tkachenko
sri vela wrote:


I would like to know what are the properties that
people are working on.

I don't think the list exist. Almost all unimplemented properties require some 
kind of redesign of the code base, and that's exactly what we are working on.

The reason why i am asking is
because i am also planning to implement some
properties.

Everybody's invited, it's open source. Which properties are you talking about?

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




need help regarding properties implementions

2002-11-27 Thread sri vela
Hi all,
I would like to know what are the properties that
people are working on. can i get the list of
properties that people are working on right now. any
body is maintaining the list. If so where can i see
that list of properties. The reason why i am asking is
because i am also planning to implement some
properties.

Thank you very much
Sri

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Help! About font problem.

2002-11-21 Thread Oleg Tkachenko
Yueshu Jesse wrote:

In order to resolve the display "..." problem, I embed a truetype 
font by setting up userconfig.xml and call new Option in program. So, 
the PDF file created by FOP can show the foreign words correctly. But at 
this time, there are some unbreak text block displaying out of the body 
region. Somebody help me please.
Without seeing an example I understand nothing from your explanation. Provide 
a small fo snippet, which illustrates your problem. And post it to fop-user 
list, please.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Help! About font problem.

2002-11-21 Thread Yueshu Jesse
In order to resolve the display "..." problem, I embed a truetype font 
by setting up userconfig.xml and call new Option in program. So, the PDF 
file created by FOP can show the foreign words correctly. But at this time, 
there are some unbreak text block displaying out of the body region. 
Somebody help me please.

Regards
Jesse.

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



need help for word-spacing property

2002-11-05 Thread Sridhar Velagapudi
Hi all,
does any one implemented the propety wod-spacing in Fop. if so how can i make it work in my code. Thanks in advance.
 
SriSurf the Web without missing calls! Get MSN Broadband. Click Here 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Re: RE: help!!!

2002-08-14 Thread ehoo

Hi :

  At the first,thinks for your help!

  Now I am looking for fopdot(write with C#),but I can't get LogKit.NET at 
http://www.pinetree-tech.com/projects/fog07.html.

  Can you help me?

 Thinks a lot!




>On the contrary, that's how bosses are.  Don't even get me started on mine.
>
>-Original Message-
>From: Mark Malone [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, August 13, 2002 1:59 PM
>To: [EMAIL PROTECTED]
>Subject: Re: help!!!
>
>
>I think the "new boss" advice is more useful ;)  New boss would say
>"Take existing, make faster, short time to market!" This can't be real.
>
>-M
>
>On Tuesday, August 13, 2002, at 05:28  AM, Rhett Aultman wrote:
>
>> Rewriting FOP in C++ is not impossible, though it may be quite
>> difficult.  I'm really not sure what the rest of your questions are,
>> but I'd say it's going to take you quite a while to complete a project
>> like that, and if your boss is telling you and you alone to rewrite FOP
>> in C++, and you are only 22 with only one year of programming
>> experience, there is either a labor shortage in your office or your
>> boss' project management skills aren't stellar.
>>
>> What you might want to consider is showing your boss ways you can
>> integrate FOP in its current implementation without rewriting it in
>> C++.  For example, if you're performing PDF generation with FOP from a
>> C++ program, just write your source data to a file, fork a process that
>> runs FOP on that file, and then read the resulting file in.  Maybe it's
>> not as elegant as having a pure C++ solution (though I find nothing
>> about C++ elegant), but it will work with fewer bugs, and whereas it'll
>> take you a long time to rewrite FOP in C++, this method would take you
>> less than a day to implement.
>>
>> -Original Message-
>> From: ehoo [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, August 12, 2002 9:58 PM
>> To: [EMAIL PROTECTED]
>> Subject: help!!!
>>
>>
>> Hello master-hand:
>>
>>  I using JAVA only one year!
>>
>>  My boss order me analyse FOP,and rewrite in C++;I think it's
>> impossible!
>>
>>  Now,I want to know.How long time I can find out the design about
>> FOP complete? Otherwise I am 22 old,  experience less one year!
>>  
>> Can you help me???   
>>
>> 
>> [EMAIL PROTECTED]
>> 2002-08-13
>>
>>
>> _
>>
>> Do You Yahoo!?
>>
>> ÒøÐоÞÍ·¾Û»áÖÐÔ­ ´óÀËÌÔ¡®½ð¡¯Ë­½«Ð¦°Á
>>
>> http://sweepstakes.yahoo.com/bank_surveywave2/
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, email: [EMAIL PROTECTED]
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, email: [EMAIL PROTECTED]
>>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]



_
Do You Yahoo!?
ÐÂÏʵ½µ×,ÓéÀÖµ½¼Ò - ÑÅ»¢ÍƳöÃâ·ÑÓéÀÖµç×ÓÖܱ¨!
http://cn.ent.yahoo.com/newsletter/index.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: help!!!

2002-08-13 Thread Rhett Aultman

On the contrary, that's how bosses are.  Don't even get me started on mine.

-Original Message-
From: Mark Malone [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 1:59 PM
To: [EMAIL PROTECTED]
Subject: Re: help!!!


I think the "new boss" advice is more useful ;)  New boss would say 
"Take existing, make faster, short time to market!" This can't be real.

-M

On Tuesday, August 13, 2002, at 05:28  AM, Rhett Aultman wrote:

> Rewriting FOP in C++ is not impossible, though it may be quite 
> difficult.  I'm really not sure what the rest of your questions are, 
> but I'd say it's going to take you quite a while to complete a project 
> like that, and if your boss is telling you and you alone to rewrite FOP 
> in C++, and you are only 22 with only one year of programming 
> experience, there is either a labor shortage in your office or your 
> boss' project management skills aren't stellar.
>
> What you might want to consider is showing your boss ways you can 
> integrate FOP in its current implementation without rewriting it in 
> C++.  For example, if you're performing PDF generation with FOP from a 
> C++ program, just write your source data to a file, fork a process that 
> runs FOP on that file, and then read the resulting file in.  Maybe it's 
> not as elegant as having a pure C++ solution (though I find nothing 
> about C++ elegant), but it will work with fewer bugs, and whereas it'll 
> take you a long time to rewrite FOP in C++, this method would take you 
> less than a day to implement.
>
> -Original Message-
> From: ehoo [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 9:58 PM
> To: [EMAIL PROTECTED]
> Subject: help!!!
>
>
> Hello master-hand:
>
>   I using JAVA only one year!
>
>   My boss order me analyse FOP,and rewrite in C++;I think it's 
> impossible!
>
>   Now,I want to know.How long time I can find out the design about 
> FOP complete? Otherwise I am 22 old,  experience less one year!
>   
> Can you help me???
>
> 
> [EMAIL PROTECTED]
>   2002-08-13
>
>
> _
>
> Do You Yahoo!?
>
> 银行巨头聚会中原 大浪淘‘金’谁将笑傲
>
> http://sweepstakes.yahoo.com/bank_surveywave2/
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: help!!!

2002-08-13 Thread Mark Malone

I think the "new boss" advice is more useful ;)  New boss would say 
"Take existing, make faster, short time to market!" This can't be real.

-M

On Tuesday, August 13, 2002, at 05:28  AM, Rhett Aultman wrote:

> Rewriting FOP in C++ is not impossible, though it may be quite 
> difficult.  I'm really not sure what the rest of your questions are, 
> but I'd say it's going to take you quite a while to complete a project 
> like that, and if your boss is telling you and you alone to rewrite FOP 
> in C++, and you are only 22 with only one year of programming 
> experience, there is either a labor shortage in your office or your 
> boss' project management skills aren't stellar.
>
> What you might want to consider is showing your boss ways you can 
> integrate FOP in its current implementation without rewriting it in 
> C++.  For example, if you're performing PDF generation with FOP from a 
> C++ program, just write your source data to a file, fork a process that 
> runs FOP on that file, and then read the resulting file in.  Maybe it's 
> not as elegant as having a pure C++ solution (though I find nothing 
> about C++ elegant), but it will work with fewer bugs, and whereas it'll 
> take you a long time to rewrite FOP in C++, this method would take you 
> less than a day to implement.
>
> -Original Message-----
> From: ehoo [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 9:58 PM
> To: [EMAIL PROTECTED]
> Subject: help!!!
>
>
> Hello master-hand:
>
>   I using JAVA only one year!
>
>   My boss order me analyse FOP,and rewrite in C++;I think it's 
> impossible!
>
>   Now,I want to know.How long time I can find out the design about 
> FOP complete? Otherwise I am 22 old,  experience less one year!
>   
> Can you help me???
>
> 
> [EMAIL PROTECTED]
>   2002-08-13
>
>
> _
>
> Do You Yahoo!?
>
> 银行巨头聚会中原 大浪淘‘金’谁将笑傲
>
> http://sweepstakes.yahoo.com/bank_surveywave2/
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Duplex print problem. Does someone could help ???

2002-08-13 Thread IvanLatysh

Hello, RamanaJV!
You wrote to <[EMAIL PROTECTED]> on Tue, 13 Aug 2002 19:22:26 +0530:

 R> IvanLatysh,
 R> Did u try printing someother document throgh 1.4 print API? Are u
 R> able to do? 
I have a problem printing even with 1.4 API.

But I found one interesting bug report.
http://developer.java.sun.com/developer/bugParade/bugs/4531254.html

---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Duplex print problem. Does someone could help ???

2002-08-13 Thread RamanaJV

IvanLatysh,
Did u try printing someother document throgh 1.4 print API? Are u
able to do? 
I didn't try duplex printing, but tried to execute the
PrintPS.java example supplied in the examples. But, I couldn't print the
PostScript file. Even there is no printer tray available. I'm sure the PS
file has the data. I have checked in the PS viewer. There should be
something wrong with the new print API or the documentation?

Ramana.

-Original Message-
From: IvanLatysh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 7:19 PM
To: [EMAIL PROTECTED]
Subject: Re: Duplex print problem. Does someone could help ???


Hello, RamanaJV!
You wrote to <[EMAIL PROTECTED]> on Tue, 13 Aug 2002 18:59:30 +0530:

 R> I don't whether this question is relevant here or not. But, I expect
 R> some answer from the experts in this group.
I am shure that this questions are relevant to this group.
Because problems with FOP not with a driver.
And by my opinion there something happened with page heigh.
Or printer getting pages like a separate documents this why printer does
flip the page but
doesn't print second side.

 R> Has any body successful in duplex printing through Java? If so, can
 R> u please post the code.
 R> If not, Is the new Java print service API buggy?

---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Duplex print problem. Does someone could help ???

2002-08-13 Thread Oleg Tkachenko

RamanaJV wrote:
> Even I'm also troubled with the same problem. Cannot print in duplex mode. I
> have even tried the new print services API in 1.4, but unsuccessful. Is it
> possible to do it through FOP?
I doubt the problem has something to do with fop, are you sure you can 
duplex print from another java application?

-- 
Oleg Tkachenko
Multiconn International, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Duplex print problem. Does someone could help ???

2002-08-13 Thread IvanLatysh

Hello, RamanaJV!
You wrote to <[EMAIL PROTECTED]> on Tue, 13 Aug 2002 18:59:30 +0530:

 R> I don't whether this question is relevant here or not. But, I expect
 R> some answer from the experts in this group.
I am shure that this questions are relevant to this group.
Because problems with FOP not with a driver.
And by my opinion there something happened with page heigh.
Or printer getting pages like a separate documents this why printer does flip the page 
but
doesn't print second side.

 R> Has any body successful in duplex printing through Java? If so, can
 R> u please post the code.
 R> If not, Is the new Java print service API buggy?

---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Duplex print problem. Does someone could help ???

2002-08-13 Thread RamanaJV

I don't whether this question is relevant here or not. But, I expect some
answer from the experts in this group.

Has any body successful in duplex printing through Java? If so, can
u please post the code. 
If not, Is the new Java print service API buggy?

Thanks
Ramana.

-Original Message-
From: RamanaJV [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 6:54 PM
To: [EMAIL PROTECTED]
Subject: RE: Duplex print problem. Does someone could help ???


Even I'm also troubled with the same problem. Cannot print in duplex mode. I
have even tried the new print services API in 1.4, but unsuccessful. Is it
possible to do it through FOP?

Ramana.

-Original Message-
From: IvanLatysh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 6:33 PM
To: [EMAIL PROTECTED]
Subject: Duplex print problem. Does someone could help ???


Hello, IvanLatysh!
You wrote to <[EMAIL PROTECTED]> on Mon, 12 Aug 2002 10:56:57 -0400:

 I> Hi.

 I> I have problem with printing on duplex printer HP LaserJet IIISi.
 I> Report have 2 pages.
 I> If I am printing simplex - Ok.
 I> But if I am trying to print duplex only one side is printing, but
 I> printer flipping the page and indicate that it is duplex printing.
 I> The second page is going to another page, like simplex printing.

 I> I did check, there are only 2 pages, nothing between.
 I> This is page declaration:
 I> 
 I>  page-width="21cm"
 I> margin-top="0.5cm" margin-bottom="0.5cm" margin-left="2cm"
 I> margin-right="1cm">
 I> 
 I> 

 I> Using FOP 0.20.3. Printing from AWT preview window.

 I> Sincerely yours, Ivan Latysh.
 I> [EMAIL PROTECTED] http://ivan.yourmail.com


 I> -
 I> To unsubscribe, e-mail: [EMAIL PROTECTED]
 I> For additional commands, email: [EMAIL PROTECTED]


---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Duplex print problem. Does someone could help ???

2002-08-13 Thread RamanaJV

Even I'm also troubled with the same problem. Cannot print in duplex mode. I
have even tried the new print services API in 1.4, but unsuccessful. Is it
possible to do it through FOP?

Ramana.

-Original Message-
From: IvanLatysh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 6:33 PM
To: [EMAIL PROTECTED]
Subject: Duplex print problem. Does someone could help ???


Hello, IvanLatysh!
You wrote to <[EMAIL PROTECTED]> on Mon, 12 Aug 2002 10:56:57 -0400:

 I> Hi.

 I> I have problem with printing on duplex printer HP LaserJet IIISi.
 I> Report have 2 pages.
 I> If I am printing simplex - Ok.
 I> But if I am trying to print duplex only one side is printing, but
 I> printer flipping the page and indicate that it is duplex printing.
 I> The second page is going to another page, like simplex printing.

 I> I did check, there are only 2 pages, nothing between.
 I> This is page declaration:
 I> 
 I>  page-width="21cm"
 I> margin-top="0.5cm" margin-bottom="0.5cm" margin-left="2cm"
 I> margin-right="1cm">
 I> 
 I> 

 I> Using FOP 0.20.3. Printing from AWT preview window.

 I> Sincerely yours, Ivan Latysh.
 I> [EMAIL PROTECTED] http://ivan.yourmail.com


 I> -
 I> To unsubscribe, e-mail: [EMAIL PROTECTED]
 I> For additional commands, email: [EMAIL PROTECTED]


---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: help!!!

2002-08-13 Thread Peter B. West

It's being done.  Look for xslfo-proc on sourceforge.  And look for a
new boss.

Peter

>   I using JAVA only one year!
> 
>   My boss order me analyse FOP,and rewrite in C++;I think it's impossible!

-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Duplex print problem. Does someone could help ???

2002-08-13 Thread IvanLatysh

Hello, IvanLatysh!
You wrote to <[EMAIL PROTECTED]> on Mon, 12 Aug 2002 10:56:57 -0400:

 I> Hi.

 I> I have problem with printing on duplex printer HP LaserJet IIISi.
 I> Report have 2 pages.
 I> If I am printing simplex - Ok.
 I> But if I am trying to print duplex only one side is printing, but
 I> printer flipping the page and indicate that it is duplex printing.
 I> The second page is going to another page, like simplex printing.

 I> I did check, there are only 2 pages, nothing between.
 I> This is page declaration:
 I> 
 I>  page-width="21cm"
 I> margin-top="0.5cm" margin-bottom="0.5cm" margin-left="2cm"
 I> margin-right="1cm">
 I> 
 I> 

 I> Using FOP 0.20.3. Printing from AWT preview window.

 I> Sincerely yours, Ivan Latysh.
 I> [EMAIL PROTECTED] http://ivan.yourmail.com


 I> -
 I> To unsubscribe, e-mail: [EMAIL PROTECTED]
 I> For additional commands, email: [EMAIL PROTECTED]


---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: help!!!

2002-08-13 Thread Rhett Aultman

Rewriting FOP in C++ is not impossible, though it may be quite difficult.  I'm really 
not sure what the rest of your questions are, but I'd say it's going to take you quite 
a while to complete a project like that, and if your boss is telling you and you alone 
to rewrite FOP in C++, and you are only 22 with only one year of programming 
experience, there is either a labor shortage in your office or your boss' project 
management skills aren't stellar.

What you might want to consider is showing your boss ways you can integrate FOP in its 
current implementation without rewriting it in C++.  For example, if you're performing 
PDF generation with FOP from a C++ program, just write your source data to a file, 
fork a process that runs FOP on that file, and then read the resulting file in.  Maybe 
it's not as elegant as having a pure C++ solution (though I find nothing about C++ 
elegant), but it will work with fewer bugs, and whereas it'll take you a long time to 
rewrite FOP in C++, this method would take you less than a day to implement.

-Original Message-
From: ehoo [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 9:58 PM
To: [EMAIL PROTECTED]
Subject: help!!!


Hello master-hand:

I using JAVA only one year!

My boss order me analyse FOP,and rewrite in C++;I think it's impossible!

Now,I want to know.How long time I can find out the design about FOP complete? 
Otherwise I am 22 old,  experience less one year!

Can you help me???  


[EMAIL PROTECTED]
2002-08-13


_

Do You Yahoo!? 

ÒøÐоÞÍ·¾Û»áÖÐÔ­ ´óÀËÌÔ¡®½ð¡¯Ë­½«Ð¦°Á

http://sweepstakes.yahoo.com/bank_surveywave2/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




help!!!

2002-08-12 Thread ehoo

Hello master-hand:

I using JAVA only one year!

My boss order me analyse FOP,and rewrite in C++;I think it's impossible!

Now,I want to know.How long time I can find out the design about FOP complete? 
Otherwise I am 22 old,  experience less one year!

Can you help me???  


[EMAIL PROTECTED]
2002-08-13


_
Do You Yahoo!?
ÒøÐоÞÍ·¾Û»áÖÐÔ­ ´óÀËÌÔ¡®½ð¡¯Ë­½«Ð¦°Á
http://sweepstakes.yahoo.com/bank_surveywave2/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Duplex printing problem. Please help.

2002-08-12 Thread IvanLatysh

Hi.

I have problem with printing on duplex printer HP LaserJet IIISi.
Report have 2 pages.
If I am printing simplex - Ok.
But if I am trying to print duplex only one side is printing, but printer flipping the 
page and
indicate that it is duplex printing.
The second page is going to another page, like simplex printing.

I did check, there are only 2 pages, nothing between.
This is page declaration:





Using FOP 0.20.3. Printing from AWT preview window.

Sincerely yours, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: pls help with getting latest maint version

2002-07-23 Thread J.Pietschmann

[EMAIL PROTECTED] wrote:
> Hi all, pls forgive me, and i know this must be the millionth time you're
> being asked for it, but can someone pls send me the FTP command for getting
> the latest maint version? Or even better, can someone pls send me the latest
> maintenance version jar..thx
> 
You can't get the maintenance version by FTP, you
have to check it out from CVS. THis has been recently
discussed, search the list archives at
  http://marc.theaimsgroup.com/?l=fop-dev&r=1&w=2#
  http://marc.theaimsgroup.com/?l=fop-user&r=1&w=2#
or look into
  http://marc.theaimsgroup.com/?l=fop-dev&m=102708776206768&w=2

J.Pietschmann



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




pls help with getting latest maint version

2002-07-23 Thread Dudley . Butt

Hi all, pls forgive me, and i know this must be the millionth time you're
being asked for it, but can someone pls send me the FTP command for getting
the latest maint version? Or even better, can someone pls send me the latest
maintenance version jar..thx


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine. 
 
Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone. 
 
Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: FOP Specialized Classloader: Request for Help #10379

2002-07-01 Thread Peter B. West

Rhett,

The way it seems to work is that the bug remains assigned to fop-dev, 
and anyone who want to add comments or attachments can go ahead. 
Consider it assigned to you.  Keep the list in touch with what you are 
doing; think aloud about design issues and ask any specific questions as 
they arise.  Most of us are working on particular areas, so you may not 
see any immediate responses, but if you keep us aware of what you are 
doing, folks can jump in with specific suggestions or objections.  Don't 
be afraid to ask specific questions, and to ask them again if the 
answers aren't clear to you, or are non-existent.  The initiative on 
this one is with you.

Peter

Rhett Aultman wrote:
> Done, and I hope I submitted it properly.  I think I did.  :)
> 
> I'm happy to have that one set as assigned to me.  If anyone else feels like jumping 
>in on this issue, too, that's great.


-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: FOP Specialized Classloader: Request for Help (Was:RE: Fop andJDK1.2)

2002-07-01 Thread Rhett Aultman

Done, and I hope I submitted it properly.  I think I did.  :)

I'm happy to have that one set as assigned to me.  If anyone else feels like jumping 
in on this issue, too, that's great.

-Original Message-
From: Peter B. West [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 30, 2002 10:55 AM
To: [EMAIL PROTECTED]
Subject: Re: FOP Specialized Classloader: Request for Help (Was:RE: Fop
andJDK1.2)


Rhett,

Sorry it has taken me so long to get back to you on this one.  In order 
that this not slip completely through the cracks, please put a request 
for enhancement (RFE) in Bugzilla.  You can pretty much copy your 
comments from this message into the RFE.  If you have had any further 
thoughts on the matter, generate attachment to the RFE detailing them. 
If you have used bugzilla before, you will know what I mean.  If not, 
take a look and refer any questions back here or to me.

Peter

Rhett Aultman wrote:
> Comments below.
> 
> -Original Message-
> From: Peter B. West [mailto:[EMAIL PROTECTED]]
> 
> The discussion has thrown up some interesting points, and I hope to see 
> Rhett get involved in this soon.
> 
> I hope also that the work Rhett is talking about will give us a solid 
> framework for changes to our support framework, both with the JVM and 
> possibly with the frequently changing jars that we bundle.  There may be 
> other initiatives happening within Apache on that front.
> 
> 
> 
> I think a multiplexing classloader would give us a really serious boost with regard 
>to flexibility.  This is going to be an extremely important issue not only as JVM 
>versions become more important, but also as the differences between each vendor 
>interpretation of the VM becomes apparrent.  By supplying a classloader that can, 
>based on various properties, deduce the correct class to load, we can keep FOP's 
>implementation disentangled from most of these concerns.
> 
> The actual act of selecting the correct location for loading a class is really not 
>that hard, but a classloader that makes decisions for FOP is something that's going 
>to also need someone with good experience in FOP development.  Currently, that person 
>isn't me.  I think that maybe if I and someone who's a more core FOP developer could 
>get together in private email we could get a good structure for this classloader 
>hammered out.  From there, implementation of it would be pretty easy for me to handle.
> 
> So, is anyone game?  Like I said, I can write it, but if I design this thing in a 
>vacuum, it may not be nearly as good as it could be.

-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: FOP Specialized Classloader: Request for Help (Was:RE: Fop andJDK1.2)

2002-06-30 Thread Peter B. West

Rhett,

Sorry it has taken me so long to get back to you on this one.  In order 
that this not slip completely through the cracks, please put a request 
for enhancement (RFE) in Bugzilla.  You can pretty much copy your 
comments from this message into the RFE.  If you have had any further 
thoughts on the matter, generate attachment to the RFE detailing them. 
If you have used bugzilla before, you will know what I mean.  If not, 
take a look and refer any questions back here or to me.

Peter

Rhett Aultman wrote:
> Comments below.
> 
> -Original Message-
> From: Peter B. West [mailto:[EMAIL PROTECTED]]
> 
> The discussion has thrown up some interesting points, and I hope to see 
> Rhett get involved in this soon.
> 
> I hope also that the work Rhett is talking about will give us a solid 
> framework for changes to our support framework, both with the JVM and 
> possibly with the frequently changing jars that we bundle.  There may be 
> other initiatives happening within Apache on that front.
> 
> 
> 
> I think a multiplexing classloader would give us a really serious boost with regard 
>to flexibility.  This is going to be an extremely important issue not only as JVM 
>versions become more important, but also as the differences between each vendor 
>interpretation of the VM becomes apparrent.  By supplying a classloader that can, 
>based on various properties, deduce the correct class to load, we can keep FOP's 
>implementation disentangled from most of these concerns.
> 
> The actual act of selecting the correct location for loading a class is really not 
>that hard, but a classloader that makes decisions for FOP is something that's going 
>to also need someone with good experience in FOP development.  Currently, that person 
>isn't me.  I think that maybe if I and someone who's a more core FOP developer could 
>get together in private email we could get a good structure for this classloader 
>hammered out.  From there, implementation of it would be pretty easy for me to handle.
> 
> So, is anyone game?  Like I said, I can write it, but if I design this thing in a 
>vacuum, it may not be nearly as good as it could be.

-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




FOP Specialized Classloader: Request for Help (Was:RE: Fop and JDK1.2)

2002-06-13 Thread Rhett Aultman

Comments below.

-Original Message-
From: Peter B. West [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:17 AM
To: [EMAIL PROTECTED]
Subject: Re: Fop and JDK1.2


The discussion has thrown up some interesting points, and I hope to see 
Rhett get involved in this soon.

I hope also that the work Rhett is talking about will give us a solid 
framework for changes to our support framework, both with the JVM and 
possibly with the frequently changing jars that we bundle.  There may be 
other initiatives happening within Apache on that front.

>

I think a multiplexing classloader would give us a really serious boost with regard to 
flexibility.  This is going to be an extremely important issue not only as JVM 
versions become more important, but also as the differences between each vendor 
interpretation of the VM becomes apparrent.  By supplying a classloader that can, 
based on various properties, deduce the correct class to load, we can keep FOP's 
implementation disentangled from most of these concerns.

The actual act of selecting the correct location for loading a class is really not 
that hard, but a classloader that makes decisions for FOP is something that's going to 
also need someone with good experience in FOP development.  Currently, that person 
isn't me.  I think that maybe if I and someone who's a more core FOP developer could 
get together in private email we could get a good structure for this classloader 
hammered out.  From there, implementation of it would be pretty easy for me to handle.

So, is anyone game?  Like I said, I can write it, but if I design this thing in a 
vacuum, it may not be nearly as good as it could be.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Sorry that I am askin here, but I couldn't find solution overthe net. Please help.

2002-05-23 Thread J.Pietschmann

IvanLatysh wrote:
> I am trying to create a new page for each .
> And I am getting an exception that flow mast have child block.
...
>   
> 
>   
> 
>   

It seems the apply-templates does not match anything. Without
the context, it is hard to say why.
In case of errors, it is recommended to run the XSLT standalone
and examine the intermediate FO file.

> 
   ^
Delete the trailing slash. Should have caused a syntax error


J.Pietschmann



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Sorry that I am askin here, but I couldn't find solution over the net. Please help.

2002-05-23 Thread IvanLatysh

Hi All.

Question about my template.

I am trying to create a new page for each .
And I am getting an exception that flow mast have child block.
Please help me a little or point me somewhere on the web to get it working.

  

  

  

  

  


 


Actually I have xml file with this kind og structure:

 
  a
 
 
  b


Sincerely yours, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




need help xalan-J images

2002-04-10 Thread Torsten Erler

I'm using XALAN Java 2 to translate "xsl" stylesheets to "fo" and the result
to "pdf"
I have to insert a graphic using URL from xml file









This works fine, but all images are scaled to the specified height and
width.
If I remove this attributes, all images greater than page size
()
produce an infinite loop on translation.
I tried to use "max-height" and "max-width", but xalan ignores this and
tells me:
Warning: property - "max-height" is not implemented yet.
Warning: property - "max-width" is not implemented yet.

Can anyone tell me another solution to find out whether the image must be
scaled to fit the page size or not?

ThanX Torsten


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: help to get started on WebSphere 3.5

2002-04-03 Thread John . Y . Cherny

Thanks for advice.
I've looked at number of messages regarding running FOP in "MAIN" but I couldn't find any reasoning why.
In any case I took your warning, talked to my lead, and we are thinking of calling EJB to run FOP there.
What do think? 







"J.Pietschmann" <[EMAIL PROTECTED]>
04/03/02 10:34 AM
Please respond to fop-dev

        
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: help to get started on WebSphere 3.5


[EMAIL PROTECTED] wrote:
> 
> I have to generate PDF letters files. To do that I have decided to use 
> FOP files as letter templates supplying
> variables(name, address...) via XML. It is going to be a batch job, 
> running "main" method developing
> with Visual Age, WebSphere 3.5. Is anyone has examples?
> Most importantly, I have no idea what libraries to download, where to 
> install and how to configure.

You are asking for something big. Moreover, i can't
quite figure out what your actual requirements are.

The easiest way seems to be to contact your friendly
IBM support.
Other than that it would be useful to know:
1. How much experience do you have in running WebSphere
  and deploying code for WebSphere?
2. How much experience do you have in Java programming
  in general and in servlet/JSP stuff in particular?
3. How extensive have you already dealt with XML stuff?
4. How much experience do you have in developing
  XSLT/XSLFO?
5. How much experience do you have in running FOP?
6. What do you mean by "batch job"? Conventionally
  this is not used in assiciation with a web application
  server.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





Re: help to get started on WebSphere 3.5

2002-04-03 Thread J.Pietschmann

[EMAIL PROTECTED] wrote:
> I am novice with XML, XSL, FOP.

I suppose you already downloaded the latest binary release of FOP.
First get some experience in running FOP by running some of the
examples from the distribution from the command line. Check the
documentation in the distribution for how to do this.

If you got around this, start developing you own FO file to gain
some more experience. Question related to FO design can be asked
on the XSL list (http://www.mulberrytech.com/xsl/xsl-list) or,
if they are FOP specific, on the FOP-user list.

After you have some working FO, design your input XML for the
variable date and start to generate them using XSLT.
Question related to XSLT design can be asked on the XSL list
exclusively. For questions about XML design check out the FAQs,
tutorials and lists listed on http://www.xml.org first.
Check the documentation for how to run FOP using an XSL
transformation.

If you got some working XSLT code you can run it from the command
line, start to embed FOP into your application. There is a file
"embedding.html" delivered with FOP with some hints. Look also
into the FOP servlet example in docs/examples/embedding. You don't
run any MAIN method. There are also recurring issues you can find in
the archives of the FOP lists
  http://marc.theaimsgroup.com/?l=fop-user&r=1&w=2#
  http://marc.theaimsgroup.com/?l=fop-dev&r=1&w=2#

For deploying FOP, you need all the jar files from the lib directory
as well as fop.jar itself. If you want to deploy them as part of
a WebSphere application, there are some pitfalls. I think they
have been written about on the list, check the archives mentioned
above.

HTH
J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: help to get started on WebSphere 3.5

2002-04-03 Thread John . Y . Cherny

Hi Jason,
Thanks a million for code example.
Unfortunately I cannot use Websphere Application Developer, because we have troubles with
Websphere 4. I have to use Visual Age 3.5. As a matter of fact I do use WSAD to check syntax of
my XMLs. I am about to import few .jars: xerces.jar, xalan.jar, fop.jar, logkit.jar. Is there anything else
I need to create and configure?

Thanks again. John Cherny.







[EMAIL PROTECTED]
04/03/02 10:36 AM
Please respond to fop-dev

        
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        RE: help to get started on WebSphere 3.5


This is how I do it Websphere 4.

Using Websphere Application developer I put the jar files
into the WEB-INF/lib directory in my war file. If using VAJ
just add some entries to the WS Testenvironment classpath to
where these are.

I then used the code examples in the docs.

here is a little code snippet 
( it's contextual to my program and I use the oracle xml/xslt
  engines as well. )

import org.apache.fop.apps.Driver;
import org.apache.fop.apps.Version;
import org.apache.fop.apps.XSLTInputHandler;

import org.apache.log.*;


if ( sUseFOP.equals("Y") ) {
   XMLDocumentFragment foDocFrag =
   processor.processXSL(xsl, resultXML);
   XMLDocument foDoc = new XMLDocument();
   foDoc.appendChild( foDocFrag);
   renderXML((Document) foDoc, response, outW);
} else {
   processor.processXSL(xsl, resultXML, outW);
}


HTH, Jason


-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 1:34 PM
To: [EMAIL PROTECTED]
Subject: Re: help to get started on WebSphere 3.5


[EMAIL PROTECTED] wrote:
> 
> I have to generate PDF letters files. To do that I have decided to use 
> FOP files as letter templates supplying
> variables(name, address...) via XML. It is going to be a batch job, 
> running "main" method developing
> with Visual Age, WebSphere 3.5. Is anyone has examples?
> Most importantly, I have no idea what libraries to download, where to 
> install and how to configure.

You are asking for something big. Moreover, i can't
quite figure out what your actual requirements are.

The easiest way seems to be to contact your friendly
IBM support.
Other than that it would be useful to know:
1. How much experience do you have in running WebSphere
  and deploying code for WebSphere?
2. How much experience do you have in Java programming
  in general and in servlet/JSP stuff in particular?
3. How extensive have you already dealt with XML stuff?
4. How much experience do you have in developing
  XSLT/XSLFO?
5. How much experience do you have in running FOP?
6. What do you mean by "batch job"? Conventionally
  this is not used in assiciation with a web application
  server.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





Re: help to get started on WebSphere 3.5

2002-04-03 Thread John . Y . Cherny

Hi, thank you for your response.
I was asked to generate response letters offline. The letters will have a standard text with an exception of
things like first name, last name, address etc. Because the letters are uniformed I have decided to have 
some sort of letter template and during the FOP process to plug in variables into the prearranged slots.
The generated letters will be send as an attachment in form of PDF files to our clients. That is the scope.
I have decided to use xsl-fo to create my letter templates and create DOM document that will consist
purely of variable data that I will get from the data base. By running FOP I am planning to generate PDF files.
I do have few years in developing with java/jsp. I did generate letters before using PdfLib.
I am novice with XML, XSL, FOP. I about to create the following projects in our repository:
Xerces(xerces.jar), Xalan(xalan.jar), FOP(fop.jar) and logkit(logkit.jar). I am not sure if I need anything else.
I am going to use an embedded FOP and run it in the "MAIN" method.
I would appreciate any help.
John Cherny.







"J.Pietschmann" <[EMAIL PROTECTED]>
04/03/02 10:34 AM
Please respond to fop-dev

        
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: help to get started on WebSphere 3.5


[EMAIL PROTECTED] wrote:
> 
> I have to generate PDF letters files. To do that I have decided to use 
> FOP files as letter templates supplying
> variables(name, address...) via XML. It is going to be a batch job, 
> running "main" method developing
> with Visual Age, WebSphere 3.5. Is anyone has examples?
> Most importantly, I have no idea what libraries to download, where to 
> install and how to configure.

You are asking for something big. Moreover, i can't
quite figure out what your actual requirements are.

The easiest way seems to be to contact your friendly
IBM support.
Other than that it would be useful to know:
1. How much experience do you have in running WebSphere
  and deploying code for WebSphere?
2. How much experience do you have in Java programming
  in general and in servlet/JSP stuff in particular?
3. How extensive have you already dealt with XML stuff?
4. How much experience do you have in developing
  XSLT/XSLFO?
5. How much experience do you have in running FOP?
6. What do you mean by "batch job"? Conventionally
  this is not used in assiciation with a web application
  server.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





RE: help to get started on WebSphere 3.5

2002-04-03 Thread Jason . West

This is how I do it Websphere 4.

Using Websphere Application developer I put the jar files
into the WEB-INF/lib directory in my war file. If using VAJ
just add some entries to the WS Testenvironment classpath to
where these are.

I then used the code examples in the docs.

here is a little code snippet 
( it's contextual to my program and I use the oracle xml/xslt
  engines as well. )

import org.apache.fop.apps.Driver;
import org.apache.fop.apps.Version;
import org.apache.fop.apps.XSLTInputHandler;

import org.apache.log.*;


if ( sUseFOP.equals("Y") ) {
XMLDocumentFragment foDocFrag =
processor.processXSL(xsl, resultXML);
XMLDocument foDoc = new XMLDocument();
foDoc.appendChild( foDocFrag);
renderXML((Document) foDoc, response, outW);
} else {
processor.processXSL(xsl, resultXML, outW);
}


HTH, Jason


-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 1:34 PM
To: [EMAIL PROTECTED]
Subject: Re: help to get started on WebSphere 3.5


[EMAIL PROTECTED] wrote:
> 
> I have to generate PDF letters files. To do that I have decided to use 
> FOP files as letter templates supplying
> variables(name, address...) via XML. It is going to be a batch job, 
> running "main" method developing
> with Visual Age, WebSphere 3.5. Is anyone has examples?
> Most importantly, I have no idea what libraries to download, where to 
> install and how to configure.

You are asking for something big. Moreover, i can't
quite figure out what your actual requirements are.

The easiest way seems to be to contact your friendly
IBM support.
Other than that it would be useful to know:
1. How much experience do you have in running WebSphere
  and deploying code for WebSphere?
2. How much experience do you have in Java programming
  in general and in servlet/JSP stuff in particular?
3. How extensive have you already dealt with XML stuff?
4. How much experience do you have in developing
  XSLT/XSLFO?
5. How much experience do you have in running FOP?
6. What do you mean by "batch job"? Conventionally
  this is not used in assiciation with a web application
  server.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: help to get started on WebSphere 3.5

2002-04-03 Thread J.Pietschmann

[EMAIL PROTECTED] wrote:
> 
> I have to generate PDF letters files. To do that I have decided to use 
> FOP files as letter templates supplying
> variables(name, address...) via XML. It is going to be a batch job, 
> running "main" method developing
> with Visual Age, WebSphere 3.5. Is anyone has examples?
> Most importantly, I have no idea what libraries to download, where to 
> install and how to configure.

You are asking for something big. Moreover, i can't
quite figure out what your actual requirements are.

The easiest way seems to be to contact your friendly
IBM support.
Other than that it would be useful to know:
1. How much experience do you have in running WebSphere
  and deploying code for WebSphere?
2. How much experience do you have in Java programming
  in general and in servlet/JSP stuff in particular?
3. How extensive have you already dealt with XML stuff?
4. How much experience do you have in developing
  XSLT/XSLFO?
5. How much experience do you have in running FOP?
6. What do you mean by "batch job"? Conventionally
  this is not used in assiciation with a web application
  server.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




help to get started on WebSphere 3.5

2002-04-02 Thread John . Y . Cherny

I have to generate PDF letters files. To do that I have decided to use FOP files as letter templates supplying
variables(name, address...) via XML. It is going to be a batch job, running "main" method developing
with Visual Age, WebSphere 3.5. Is anyone has examples?
Most importantly, I have no idea what libraries to download, where to install and how to configure.
Please, help.

John Cherny.
email: [EMAIL PROTECTED]
(w)phone: (323)259-4631

Re: Using FOP with xmlspy -- THANKS FOR HELP, QUESTIONANSWERED

2002-03-19 Thread Malcolm Sinclair

Thanks

Malcolm Sinclair


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Suggestions for the "How to get Help" page

2002-03-19 Thread Keiron Liddle


Thanks, its fixed (in CVS).

On 2002.03.19 00:05 Peter S. Housel wrote:
> 1. In item 1, the word "embed" is spelled incorrectly.
> 
> 2. The word "get" in the title should probably be capitalized.
> 
> 3. A link to ESR's "How to Ask Questions the Smart Way"
> (http://www.tuxedo.org/~esr/faqs/smart-questions.html) might be helpful.
> 
> Cheers,
> -Peter S. Housel-   [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Suggestions for the "How to get Help" page

2002-03-18 Thread Peter S. Housel

1. In item 1, the word "embed" is spelled incorrectly.

2. The word "get" in the title should probably be capitalized.

3. A link to ESR's "How to Ask Questions the Smart Way"
(http://www.tuxedo.org/~esr/faqs/smart-questions.html) might be helpful.

Cheers,
-Peter S. Housel-   [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




need help in generating PDF and WordFiles...

2002-03-18 Thread AjayKumar Kanukuntla
Title: Message



 
Can some body help me with the procedures, 
on creating pdf and word documents from xml files using FO. i tried doing it 
using Fop.class file, but the generated pdf file was not 
readable. 
The following error message is flashed when 
the program is run...
 
E:\FOP>java 
org.apache.fop.apps.Fop atom.xml atom.pdf[INFO]: FOP 0.20.3[INFO]: 
building formatting object tree[ERROR]: Unknown formatting object 
^root[ERROR]: Root element must be root, not 
(none):root
 
plz help me out. givesome 
examples.
 
thnx :)
 
with regards,
 
K. AjayKumar
Software Developer
Pass IT Consulting Pvt Ltd
Hyderabad, India
[EMAIL PROTECTED]
 
 
 


Re: Pls help....str.getBytes()

2002-02-27 Thread ewitness - Ben Fowler

>With reference to the following, does anyone know whether one must replace
>every reference to str.getBytes(), or r there some selected ones we can do
>only?
>
>http://marc.theaimsgroup.com/?l=fop-dev&m=99587281428987&w=2
>
>
>This message contains information intended solely for the addressee,
>which is confidential or private in nature and subject to legal privilege.
>If you are not the intended recipient, you may not peruse, use,
>disseminate, distribute or copy this message or any file attached to this
>message. Any such unauthorised use is prohibited and may be unlawful. If
>you have received this message in error, please notify the sender
>immediately by e-mail, facsimile or telephone and thereafter delete the
>original message from your machine.
> 
>Furthermore, the information contained in this message, and any
>attachments thereto, is for information purposes only and may contain the
>personal views and opinions of the author, which are not necessarily the
>views and opinions of Dimension Data (South Africa) (Proprietary) Limited
>or is subsidiaries and associated companies ("Dimension Data"). Dimension
>Data therefore does not accept liability for any claims, loss or damages
>of whatsoever nature, arising as a result of the reliance on such
>information by anyone.
> 
>Whilst all reasonable steps are taken to ensure the accuracy and
>integrity of information transmitted electronically and to preserve the
>confidentiality thereof, Dimension Data accepts no liability or
>responsibility whatsoever if information or data is, for whatsoever
>reason, incorrect, corrupted or does not reach its intended destination. 

I am really only writing to refer you to the Stupid Disclaimers
page http://www.goldmark.org/jeff/stupid-disclaimers/ >,
as you changed 'are' to 'r' to save two 7-bit bytes!

The short answer is that this is a java problem.

I hope that FOP will not move away from 100% pure java
without very good reason. If adding the requested
encoding is machine/OS specific then should we encapsulate
this issue by deriving from String?

Either way, any change should be fully consistent
with FOPs internationalisation mechansims.

I would guess that the medium length answer is yes,
all of them & you might be better catching the
exception at an appropriate point and reporting it.

If you are not familar with encoding in java, then
you might want to look here
http://www.oreilly.com/catalog/javanp2/chapter/ch11.html >, or
http://users.erols.com/eepeter/chinesecomputing/programming/java.html >
http://java.sun.com/products/javamail/FAQ.html >
where encoding is mentioned in passing.

Ben.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Pls help....str.getBytes()

2002-02-26 Thread Dudley . Butt

With reference to the following, does anyone know whether one must replace
every reference to str.getBytes(), or r there some selected ones we can do
only?

http://marc.theaimsgroup.com/?l=fop-dev&m=99587281428987&w=2


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine. 
 
Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone. 
 
Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




pls help...status on working in non ASCII environment, PDF not formatting correctly

2002-02-26 Thread Dudley . Butt

Hi all,

We're currently trying to get our FOP to work on a mainframe using EBCDIC,
but when the PDF gets generated, the formatting goes horribly wrong..

i've read the mailing list and i see it has been addressed before as a bug,
does anyone know the status of this bug? PLEASE help


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine. 
 
Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone. 
 
Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: newbie needs help with relative address for image.

2002-02-12 Thread Scott Moore

You can configure FOP to start all relative paths at a certain directory.
That's what I do in my servlet:

org.apache.fop.configuration.Configuration.put("baseDir", "file:" + dir
 + File.separator);

- Original Message -
From: "Savino, Matt C" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 12, 2002 2:42 PM
Subject: RE: newbie needs help with relative address for image.


> FYI - I still can't get this to work for a relative file path. Since I
have
> NT dev boxes and Unix QA and Prod, I have to feed the explicit PDF
filepath
> to the stylesheet as a parameter. I get the filepath form a
> environment-level properties file. Still looking for that elusive XSLT
> relative filepath if anyone has found it.
>
> Here's our solution if it helps anyone:
>
> <<< XSLT >>>
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>
>  
>
> (...)
>
>  src="{concat($pdfImagePath,'ClinTrialLogoGreenBig.gif')}" />
>
> (...)
>
> <<< Servlet Piece >>>
>   transformer.setParameter("pdfImagePath",
>
> getServletConfig().getServletContext().getAttribute("pdfImagePath"));
>
>
> -Matt
>
>
> > -Original Message-
> > From: Rob Smith [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 29, 2002 1:55 AM
> > To: [EMAIL PROTECTED]
> > Cc: 'Troy Bottger'
> > Subject: RE: newbie needs help with relative address for image.
> >
> >
> >
> > > From: Troy Bottger
> > >...
> > >  > src="{../companylogo/url}"/>
> > > It is just when I specify the relative address when I get:
> > > Error while creating area : Invalid Image URL - error on
> > relative URL : no
> > > protocol: null/abc/images/merchant_logo.gif
> >
> > Try src="file:{../companylogo/url}"
> > --
> > Rob Smith
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: newbie needs help with relative address for image.

2002-02-12 Thread Savino, Matt C

FYI - I still can't get this to work for a relative file path. Since I have
NT dev boxes and Unix QA and Prod, I have to feed the explicit PDF filepath
to the stylesheet as a parameter. I get the filepath form a
environment-level properties file. Still looking for that elusive XSLT
relative filepath if anyone has found it.

Here's our solution if it helps anyone:

<<< XSLT >>>

http://www.w3.org/1999/XSL/Transform"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format";>

 

(...)



(...)

<<< Servlet Piece >>>
  transformer.setParameter("pdfImagePath", 
 
getServletConfig().getServletContext().getAttribute("pdfImagePath"));


-Matt


> -Original Message-
> From: Rob Smith [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 29, 2002 1:55 AM
> To: [EMAIL PROTECTED]
> Cc: 'Troy Bottger'
> Subject: RE: newbie needs help with relative address for image.
> 
> 
> 
> > From: Troy Bottger
> >...
> >  src="{../companylogo/url}"/>
> > It is just when I specify the relative address when I get:
> > Error while creating area : Invalid Image URL - error on 
> relative URL : no
> > protocol: null/abc/images/merchant_logo.gif
> 
> Try src="file:{../companylogo/url}"
> --
> Rob Smith
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




  1   2   3   >