Re: FOP Console printing

2002-02-15 Thread Weiqi Gao
from which jar i could get org.apache.log.* classes. The code is > given below: Let's take a look at the jar files included in the lib subdirectory: ========= [weiqi@gao-2001 xml-fop]$ ls lib | more CVS ant.jar batik.jar bin bsf.jar bu

Re: Fop With Java Web Start

2002-02-15 Thread Weiqi Gao
e AWT presentation use the old AWT objects or Swing > objects? Swing. -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Surprising XEP vs. FOP benchmarking results

2002-02-11 Thread Weiqi Gao
and supports more of the elements in the XSL recommendation. -- Weiqi Gao [EMAIL PROTECTED] -Original Message- From: Savino, Matt C [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 3:32 PM To: '[EMAIL PROTECTED]' Subject: Surprising XEP vs. FOP benchmarking result

Re: [vote] Merging JFor with FOP

2001-10-18 Thread Weiqi Gao
ine the proposal to merge and vote yes only if the merge does not adversely affect the already strained performance of FOP in both space and time. -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: FO and Sockets.

2001-09-26 Thread Weiqi Gao
fore the server is finished, the client shuts down. > > [...] You would have better luck asking this question in a Java programming mailing list or usenet group. comp.lang.java.programmer maybe? The O'Reilly "Java I/O" book contains a chapter (I think) on Socket progr

Re: FOP WARNING

2001-09-24 Thread Weiqi Gao
ered this problem I either: 1. Misspelled the URI for the xmlns:fo attribute, or 2. Did not use the "fo:" prefix on the root element while the default namespace is not the XSL-FO namespace. -- Weiqi Gao [EMAIL PROTECTED]

Re: FAQ: Where's the Windows zip file for Fop?

2001-08-28 Thread Weiqi Gao
e of the platforms of interest. It's a compression war. And tar.gz wins for now because its file size is smaller than zip (and its equivalent, jar). A few other projects are starting to use tar.bz2 format already because bzip2 compresses even more a

FAQ: Where's the Windows zip file for Fop?

2001-08-28 Thread Weiqi Gao
(Until this is either added to the web site, or the FAQ, we can always point to the mail archive for new zip archive queries.) -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

A better shell script for running FOP

2001-08-21 Thread Weiqi Gao
y the fop script when some new library is added to $FOP_HOME/lib. -- Weiqi Gao [EMAIL PROTECTED] #! /bin/sh # # Shell script to run FOP, adapted from the Jakarta-Ant project. if [ -f $HOME/.foprc ] ; then . $HOME/.foprc fi # OS specific support. $var _must_ be set to either true or false. cy

[Patch] Chapter 15 is now Chapter 18 in XML Bible, Second Edition,...

2001-08-16 Thread Weiqi Gao
... and here's a patch to update the link in Resources. -- Weiqi Gao [EMAIL PROTECTED] Index: resources.xml === RCS file: /home/cvspublic/xml-fop/docs/xml-docs/fop/resources.xml,v retrieving revision 1.3 diff -u

Re: Release Process Improvements, Versioning etc

2001-08-13 Thread Weiqi Gao
is right now, I don't think that we are making a full use of the third number anyway. > I am sure there is other stuff also. My goal here is to develop a > formal process document that describes exactly what I do, so that > anyone with commit privileges can easily duplicate the compl

[Patch] ./build.sh distclean should delete *.tar.gz and *..zipfiles from all versions

2001-08-12 Thread Weiqi Gao
Hi, The attached patch will allow "./build.sh distclean" to delete not only the *.tar.gz and *.zip files of the current version, but also the *.tar.gz and *.zip files from earlier versions. Also the delete command for *.tar is not needed. -- Weiqi Gao [EMAIL PROTECTED] 2001-08-12

Re: Release Schedule

2001-08-10 Thread Weiqi Gao
Arved Sandstrom wrote: > > At 09:46 PM 8/9/01 -0500, Weiqi Gao wrote: > > > > This makes sense. People who are getting the source > > release can build the Javadocs from the release. > > People who are getting the binary release can't > > build the Jav

Re: Release Schedule

2001-08-09 Thread Weiqi Gao
lease can build the Javadocs from the release. People who are getting the binary release can't build the Java docs, so they need the Javadocs bundled in. -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTE

Public API Change in Driver (Was Re: [GUMP] Build Failure - Cocoon2)

2001-08-09 Thread Weiqi Gao
ct the rights to change the public interface at will, we might as well call it version 1.0). -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Name of the Release (Was Re: New Release Imminent)

2001-08-01 Thread Weiqi Gao
confusing for us, since we started using 0.19.0-CVS (the snapshot) after some of the table bugs have been fixed in CVS. And by the time the 0.19.0-CVS (the release) came along, we mixed up the two. Ironically, we are still using a snapshot version because the 0.19.0-CVS (the release) has the non-bre

Re: Performance Problems - More Findings

2001-07-25 Thread Weiqi Gao
e. FOP parses whatever that's input again anyway. -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: FOP jar and patches available

2001-07-21 Thread Weiqi Gao
. The processing speed is roughly the same for the AllElements sample from Chapter 15. 3. The memory consumption is also roughly the same. This is because I'm processing the same three page document in many threads, and not one long document in a single thread. -- Weiqi Gao [EMAIL PROTEC

Re: FOP in a servlet under load

2001-07-21 Thread Weiqi Gao
On 18 Jul 2001 23:02:26 -0500, Weiqi Gao wrote: > > Following suggestions from another post in the thread, we tried Saxon > in place of Xalan, and achieved noticeable speedups. And yes, Saxon > is picky! I'll share some numbers later. Just a quick followup, by switching to S

Re: FOP does not rendering PDF in IE5.5 SP1

2001-07-19 Thread Weiqi Gao
de the servlet. Both telnet and wget give you ways to specify request headers. (wget is part of the Cygwin package for Windows. It's Red Hat's (formerly Cygnus's) POSIX emulation library + a lot more. Get it from http://cygwin.com . It is also a GNU tool, available fo

Re: FOP in a servlet under load

2001-07-19 Thread Weiqi Gao
idt's book on Pattern Oriented Software Architecture II (http://www.cs.wustl.edu/~schmidt/). -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: FOP in a servlet under load

2001-07-18 Thread Weiqi Gao
f pages of > XML:FO in only a few Mb of heap. I have asked for testers but so far > noone has responded... this sounds like an ideal environment in I'll volunteer to test. Email me at [EMAIL PROTECTED] -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: FOP in a servlet under load

2001-07-18 Thread Weiqi Gao
On 18 Jul 2001 04:28:25 -0700, Christopher R. Maden wrote: > At 03:25 18-07-2001, Weiqi Gao wrote: > >We did some playing around with a simple FOP servlet that does > >XHTML->XSL-FO->PDF using Xalan and FOP and come away with the following > >findings: > > &g

FOP in a servlet under load

2001-07-18 Thread Weiqi Gao
e four documents are from 1 to 4 seconds (the 4 seconds one is 5 pages with 13 tables with various cell colors and border styles). In the 30 user test, the average time are from 20 to 40 seconds, and maximum well over 2 minutes. -- Weiqi Gao [EMAIL PRO

Re: Build problem

2001-07-14 Thread Weiqi Gao
eRow.java:240: > No method matching checkBreakBefore() found in class > org.apache.fop.fo.PropertyManager. > [javac] int breakStatus = propMgr.checkBreakBefore(); > [javac] ^ > > So something n

Re: [Patch] Build Error in TableRow.java

2001-07-14 Thread Weiqi Gao
k you. Isn't open source wonderful? Talking about Ant, I have just noticed that if I issue the command "build.sh javadocs javadocs" in xml-fop, the second time Ant executes the "javadocs" task a NullPointerEx

[Patch] Build Error in TableRow.java

2001-07-14 Thread Weiqi Gao
There is a trivial error in TableRow.java where are call to PropertyManager.checkBreakBefore() is missing the area parameter. A patch is attached. -- Weiqi Gao [EMAIL PROTECTED] Index: TableRow.java === RCS file: /home/cvspublic

Re: FW: FOP 19 zip file

2001-07-10 Thread Weiqi Gao
doesn't know this, it could be quite frustating. They usually redo the download several times before realizing the problem lies elsewhere. -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: border-style problem in tables

2001-07-04 Thread Weiqi Gao
property on the table, and use borders only on the table or table-cells, and never on table-rows or table-columns. Fortunately the effects I wanted are all achievable this way (through some wacky calculation in the stylesheets). -- Weiqi Gao [EMAIL PROTECTED]

Re: Is it true!!

2001-07-04 Thread Weiqi Gao
an XSLT stylesheet to transform the XHTML into XSL-FO. And then use FOP to generate the PDF, PCL, etc. Some XHTML tags are very easy to handle, for example, the tag can be directly transformed into a element. Some are harder or impossible, e.g., the . -- Weiq

Re: JAVA to C/C++

2001-07-02 Thread Weiqi Gao
eciate. The only suggestion I would make is to make it a 'component' (COM/ActiveX, CORBA, GNOME, KDE, XPCOM, .NET, or whatever), just so that it can be used programmatically by many languages, VB, Delphi, Python, Perl, Ruby, JavaScript, etc. =

Re: Odds and Ends

2001-06-29 Thread Weiqi Gao
On 29 Jun 2001 18:26:30 -0300, Arved Sandstrom wrote: > At 06:40 AM 6/29/01 -0500, Weiqi Gao wrote: > >On 29 Jun 2001 06:37:00 -0300, Arved Sandstrom wrote: > >> > >> FOP2 is the term for a completely new layout engine, and so maybe > >> we don't really w

Re: Odds and Ends

2001-06-29 Thread Weiqi Gao
with simple numbers like 1 or 2. -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: Build failures

2001-06-26 Thread Weiqi Gao
1.4 beta by any chance? I had experienced Seg faults using JDK 1.4beta on Red Hat Linux 7.0. The moment I add xerces to my CLASSPATH, running any Java program triggers an immediate seg fault. -- Weiqi Gao [EMAIL PROTECTED] ---

Re: Code conventions

2001-06-22 Thread Weiqi Gao
tree day'. Have everybody commit their changes before that day. Run the tool on all *.java sources, commit that, and be done with it. -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: page-sequence is missing an sequence-specification Still inwont help

2001-06-20 Thread Weiqi Gao
ead, and run it through Fop. And here's all the errors I encountered: ==Session==Session==Session====== [weiqi@gao-2001 weiqi]$ fop -fo .fo -pdf .pdf FOP 0.19.0-CVS using SAX parser org.apache.xerces.parsers.SAXParser building formatting object tree WARNING:

Re: [RE: Problem in "page-sequence is missing ansequence-specification"]

2001-06-19 Thread Weiqi Gao
> > > > > > > > > > The element inside needs an attribute to tell FOP which of the three regions it should go in the simple-page-master: -- Weiqi Gao [EMAIL

Re: Redesign Questions

2001-06-13 Thread Weiqi Gao
gt; I would be starting to do the reachitecturing of fop-layout, > and anything positive that might come out shall be discussed > and committed with FOP. That would be great. -- Weiqi Gao [EMAIL PROTECTED] - To unsubsc

Re: Printing PDF using FOP...

2001-06-13 Thread Weiqi Gao
s. Unless your printer is capable of printing PDF files directly, you need to convert the PDF content into a format that the printer recognizes, such as PostScript or PCL or whatever. See http://marc.theaimsgroup.com/?l=fop-dev&w=2&r=1&s=printe

Re: One Committer's Views on FOP; Informal State of the UnionAddress

2001-06-13 Thread Weiqi Gao
ore time on the project. The project needs to project an image of being 'on track'. The project needs to attract more active developers. And many thanks for all the developers for your effort on this open source project. -- Weiqi Gao [EMAIL PROTECTED]

table-row borders

2001-06-06 Thread Weiqi Gao
Hi, Regarding tables and borders, we are experiencing some difficulties with the change from Fop-0.18.1-DEV to the current CVS (Fop-0.19.0-CVS). One thing that worked in 0.18.1 but doesn't work any more is borders for table-rows. Can we bring borders for table-rows back? -- Weiqi Gao [

Re: Border problems

2001-06-03 Thread Weiqi Gao
On 03 Jun 2001 23:05:48 +0200, Karen Lease wrote: > > Hello Weiqi Gao, Hello Karen, Thanks for the quick response. > In XSL-FO table and cell borders are centered on the grid lines by > default. This doesn't seem to match my observation with the latest CVS. If I take aw

initial-page-number, centering a table, keep-together

2001-06-01 Thread Weiqi Gao
broken into two pieces on separate pages. 4. Do table-row and table-cell borders work correctly? (I keep loosing the top and bottom borders.) TIA -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Border problems

2001-06-01 Thread Weiqi Gao
";> This is a table cell example -- Weiqi Ga

Re: How to obtain .fo file?

2001-05-31 Thread Weiqi Gao
nk that I have yet to click through.) -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: XML Europe 2001 Proceedings

2001-05-31 Thread Weiqi Gao
On 31 May 2001 07:57:54 -0300, Arved Sandstrom wrote: > > P.S. How is it that lots of people think IE is the better browser? :-) > What was that reason again? Remind me It supports XSLT? -- Weiqi Gao [EMAIL

table-cell border interferes with page height

2001-05-30 Thread Weiqi Gao
. The effect become really pronounced if I change the "1pt" to "1in". Any ideas how this can be fixed? -- Weiqi Gao [EMAIL PROTECTED] http://www.w3