[GUMP] Build Failure - Fop

2001-06-16 Thread Sam Ruby


This email is autogenerated from the output from:
http://jakarta.apache.org/builds/gump/2001-06-16/xml-fop.html


Buildfile: build.xml

init-avail:

init-filters-xalan1:

init-filters-xalan2:
 [copy] Copying 1 file to /home/rubys/jakarta/xml-fop/build/src/codegen

init:
 [echo] --- Fop 0.19.0-CVS [1999-2001] 

prepare:
 [echo] Preparing the build directories
[mkdir] Created dir: 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties
[mkdir] Created dir: 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/svg
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/conf
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/hyph
 [copy] Copying 3 files to /home/rubys/jakarta/xml-fop/build/classes/conf

codegen:
 [echo] Resetting codegen directory
 [copy] Copying 35 files to /home/rubys/jakarta/xml-fop/build/src/codegen
 [echo] Generating the java files from xml resources

xslt 
in: ./build/src/codegen/svgelements.xml
style: ./src/codegen/propmaker.xsl
out: ./build/src/codegen/svgproperties.xml


xslt 
in: ./build/src/codegen/allprops.xml
style: ./build/src/codegen/genconst.xsl
out: ./build/src/org/apache/fop/fo/properties/Constants.java


xslt 
in: ./build/src/codegen/foproperties.xml
style: ./build/src/codegen/properties.xsl
out: ./build/src/org/apache/fop/fo/properties/fo_ignore_this.java

file:///home/rubys/jakarta/xml-fop/build/src/codegen/properties.xsl; Line 12; Column 
14; Do colorkw.xml
file:home/rubys/jakarta/xml-fop/build/src/codegen/propinc.xsl; Line 54; Column 36; 
No datatype found for property: 
javax.xml.transform.TransformerException: Stylesheet directed termination
at org.apache.xalan.transformer.TransformerImpl.transformNode(Unknown Source)
at org.apache.xalan.transformer.TransformerImpl.transform(Unknown Source)
at org.apache.xalan.transformer.TransformerImpl.transform(Unknown Source)
at org.apache.xalan.transformer.TransformerImpl.transform(Unknown Source)
at org.apache.fop.tools.xslt.TraxTransform.transform(Unknown Source)
at org.apache.fop.tools.xslt.TraxTransform.transform(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.fop.tools.xslt.XSLTransform.transform(Unknown Source)
at org.apache.fop.tools.xslt.XSLTransform.transform(Unknown Source)
at org.apache.fop.tools.anttasks.Xslt.transform(Unknown Source)
at org.apache.fop.tools.anttasks.Xslt.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:124)
at org.apache.tools.ant.Target.execute(Target.java:168)
at org.apache.tools.ant.Project.runTarget(Project.java:911)
at org.apache.tools.ant.Project.executeTarget(Project.java:539)
at org.apache.tools.ant.Project.executeTargets(Project.java:513)
at org.apache.tools.ant.Main.runBuild(Main.java:422)
at org.apache.tools.ant.Main.main(Main.java:149)
-
javax.xml.transform.TransformerException: Stylesheet directed termination
at org.apache.xalan.templates.ElemMessage.execute(Unknown Source)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Unknown 
Source)
at org.apache.xalan.templates.ElemChoose.execute(Unknown Source)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Unknown 
Source)
at org.apache.xalan.templates.ElemTemplate.execute(Unknown Source)
at org.apache.xalan.templates.ElemCallTemplate.execute(Unknown Source)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Unknown 
Source)
at org.apache.xalan.templates.ElemChoose.execute(Unknown Source)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Unknown 
Source)
at org.apache.xalan.templates.ElemTemplate.execute(Unknown Source)
at org.apache.xalan.templates.ElemCallTemplate.execute(Unknown Source)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Unknown 
Source)
at org.apache.xalan.transformer.TransformerImpl.transformToRTF(Unknown Source)
at org.apache.xalan.templates.ElemVariable.getValue(Unknown Source)
at org.apache.xalan.templates.ElemVariable.execute(Unknown Source)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Unknown 
Source)
at org.apache.xalan.templates.ElemIf.execute(Unknown Source)
at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(Unknown Source)
  

Re: FOP-0.19 Release

2001-06-16 Thread Arved Sandstrom

At 02:51 PM 6/16/01 +1000, Daniel Bradby wrote:

The dist looks great!! Especially tables and borders!

Few small things that I noted were

- runtests.bat has some conflicts in it causing a small bad command or 
filename msg
- docs/examples has a few .runtests* files there
- the changes file doesn't list 0.18 - 0.19

I was also wondering what needs to be done regarding the Avalon and FOP 
integration (I'm bored and looking for something to do ;) ).

OK, these all sound like things that will get tackled in FOP-0.19.1. My 
apologies for the CHANGES file...I knew there was something I missed.

Incidentally, I have an idea for something that one person can tackle, and 
it doesn't involve intimate knowledge of layout, and it won't be heavily 
affected by layout changes. And it's not make-work. Namely, a GUI interface 
to FOP.

You've maybe seen the AntennaHouse XSL Formatter? Worth checking out if you 
haven't. I have to grudgingly admit that this is darned handy, and I'm sure 
that a lot of users would like this kind of graphical interface to FOP.

So this is something maybe to interest you.

Regards,
Arved

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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




Re: [GUMP] Build Failure - Fop

2001-06-16 Thread Karen Lease

Hi all,

I see there are several of these. I guess they are coming from the
automatic nightly build. The exception is being thrown by the stylesheet
itself because one of its named templates sees an unexpected situation.
Since none of the xsl or foproperties.xml files in codegen has been
touched for a couple of months, I can only think that this is compiling
with a recent Xalan which doesn't work with the FOP XSL. 

I must admit that I don't know much about how the build process works.
Does anyone know what we should do to find and fix the problem?

Regards,
Karen

Sam Ruby wrote:
 
 
 This email is autogenerated from the output from:
 http://jakarta.apache.org/builds/gump/2001-06-16/xml-fop.html
 
 
 Buildfile: build.xml
 
 init-avail:
 
 init-filters-xalan1:
 
 init-filters-xalan2:
  [copy] Copying 1 file to /home/rubys/jakarta/xml-fop/build/src/codegen
 
 init:
  [echo] --- Fop 0.19.0-CVS [1999-2001] 
 
 prepare:
  [echo] Preparing the build directories
 [mkdir] Created dir: 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties
 [mkdir] Created dir: 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts
 [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/svg
 [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/conf
 [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/hyph
  [copy] Copying 3 files to /home/rubys/jakarta/xml-fop/build/classes/conf
 
 codegen:
  [echo] Resetting codegen directory
  [copy] Copying 35 files to /home/rubys/jakarta/xml-fop/build/src/codegen
  [echo] Generating the java files from xml resources
 
 xslt
 in: ./build/src/codegen/svgelements.xml
 style: ./src/codegen/propmaker.xsl
 out: ./build/src/codegen/svgproperties.xml
 
 
 xslt
 in: ./build/src/codegen/allprops.xml
 style: ./build/src/codegen/genconst.xsl
 out: ./build/src/org/apache/fop/fo/properties/Constants.java
 
 
 xslt
 in: ./build/src/codegen/foproperties.xml
 style: ./build/src/codegen/properties.xsl
 out: ./build/src/org/apache/fop/fo/properties/fo_ignore_this.java
 
 file:///home/rubys/jakarta/xml-fop/build/src/codegen/properties.xsl; Line 12; Column 
14; Do colorkw.xml
 file:home/rubys/jakarta/xml-fop/build/src/codegen/propinc.xsl; Line 54; Column 
36;
[SNIP]

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




RE: Wrapping in Cell Question

2001-06-16 Thread John Wyman

Karen,
I believe I found the problem, it had to do with centering in cells
where I was imbedding a ccoltext to be centered/ccol in the cell
itself, and the ccol was setting the text-align=center, this didn't
work, instead I switched to using the calstbl cell center and it now
works, although the wrapping is not perfect, but I need to do more
testing to be sure.

I am still very interested if you can find a fix for my problem where
the 3rd cell with line number prints at the bottom of a page, but the
text is on the next page with the next number.

John


John H. Wyman
5160 Darry Lane
Dublin, OH 43016
(614)-889-0698
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Wyman Genealogy Site http://www.wyman.org
Francis Wyman Assoc email List
http://groups.yahoo.com/group/FrancisWymanAssoc
Wyman Family Genealogy Forum http://genforum.genealogy.com/wyman/
The Wyman Surname Message Board
http://www.familyhistory.com/messages/messages.asp?category=surnamefor
um=Wyman

  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Karen Lease
Sent: Saturday, June 16, 2001 6:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Wrapping in Cell Question


Hi John,

FOP has changed a great deal since version 12, so it's hard to say what
exactly is happening.

It may just be that I'm getting tired, but I can't quite figure out what
the FO file is going to look like from your partial XML and XSL. It
would be helpful if you could send either the complete files or maybe
just the FO code for the table which isn't working correctly. You can
get the FO by running XALAN or some other XSLT processor on your XSL and
XML files without running FOP.

HTH,
Karen Lease

 John Wyman wrote:
 
 I am outputting a centered line of text and the text in the cell 
 appears to start at the end of the cell and writes into the adjacent 
 cell, the data in 'three3' runs of the side of the page. This worked 
 OK in .12, what did I do wrong? John
 xml
 tgroup cols=3
 colspec colnum=1 colname=pad1 colwidth=6* rowsep=0 colsep=0
 align=left/
 colspec colnum=2 colname=three1 colwidth=12* rowsep=0
 colsep=0 align=left/
 colspec colnum=3 colname=pad3 colwidth=6* rowsep=0 colsep=0
 align=left/
 colspec colnum=4 colname=three2 colwidth=9* rowsep=0
 colsep=0 align=left/
 colspec colnum=5 colname=pad5 colwidth=11* rowsep=0
 colsep=0 align=left/
 colspec colnum=6 colname=three3 colwidth=13* rowsep=0
 colsep=0 align=left/
 
 colspec colname=linepad colnum=7 colwidth=0.8507463* 
 align=left rowsep=0 colsep=0/colspec colname=line colnum=8

 colwidth=5.955224* align=right rowsep=0 colsep=0/tbody 
 rowentry colname=pad1/entryentry colname=three1ccolIf 
 the price is at least/ccol/entry entry 
 colname=pad3/entryentry colname=three2ccolBut not more 
 than/ccol/entry entry colname=pad5/entryentry 
 colname=three3ccolThe amount of the tax is/ccol/entry
 
 using below xsl
 xsl:template match=ccol
   xsl:call-template name=DoBlock
xsl:with-param name=align select='center'/
   /xsl:call-template
/xsl:template
 xsl:template name=DoBlock
   xsl:param name=margin select=0.1 /
   xsl:param name=right-margin select=0 /
   xsl:param name=indent select=$margin /
   xsl:param name=prefix /
   xsl:param name=suffix /
   xsl:param name=align select='start' /
   xsl:param name=font select='Courier' /
   xsl:param name=weight select='normal' /
   xsl:param name=size select=11 /
   xsl:param name=before select=0 /
 
   fo:table
   fo:table-column column-number=1 column-width={concat(67 * $cw, 
 'mm')}/
   fo:table-column column-number=2 column-width={concat(1 * $cw, 
 'mm')}/
   fo:table-column column-number=3 column-width={concat(7 * $cw, 
 'mm')}/
   fo:table-body
   fo:table-row
   fo:table-cell column-number=1
   fo:block font-family={$font} font-size={concat($size,'pt')} 
 font-weight={$weight} text-align={$align}
space-before.optimum={concat($before,'pt')}
 text-indent={concat($indent * $cw,'mm')} 
 start-indent={concat($margin * $cw,'mm')}
   xsl:apply-templates/
   /fo:block
   /fo:table-cell
   fo:table-cell column-number=2/
   fo:table-cell column-number=3
 fo:block space-before.optimum={concat($before,'pt')}
 xsl:for-each select=descendant::line
fo:block text-align=end
fo:inline font-weight=normal 
 text-decoration=nonexsl:value-of
 select=format-number(@id,$linenofmt)//fo:inline
/fo:block
 /xsl:for-each
   /fo:block
   /fo:table-cell
   /fo:table-row
   /fo:table-body
   /fo:table
   /xsl:template
 
 John H. Wyman
 5160 Darry Lane
 Dublin, OH 43016
 (614)-889-0698
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Wyman Genealogy Site http://www.wyman.org
 Francis Wyman Assoc email List 
 http://groups.yahoo.com/group/FrancisWymanAssoc
 Wyman Family Genealogy Forum http://genforum.genealogy.com/wyman/
 The Wyman Surname Message Board 
 http://www.familyhistory.com/messages/messages.asp?category=surnamef
 orum=Wyman
 
 
 


-
To 

Re: Printing PDF using FOP.

2001-06-16 Thread Hitesh Bagchi

I downloaded a fresh set of code from the fop cvs and did find the
PCLRenderer
and the other latest source code. But as far I could make out
PCLRenderer does
not print to a printer instead it prints to a file in pcl format. Now in
case of
pcl as well I do have to send the output to the printer. So my previous
problem
remains.
I am actually not getting how can I send the output to the printer. I
think if
somebody can
provide with a code fragment then it would be of great help.

Thanks,
Hitesh

Art Welch wrote:

 To use the PCLRenderer you just need to tell the Driver to use the
 PCLRenderer either by passing the symbolic constant for this or by passing
 an instance of the PCLRenderer class. For example:

 fopDriver.setRenderer(Driver.RENDER_PCL);
 or
 fopDriver.setRenderer(new PCLRenderer());

 If you are invoking FOP from the command line then you can use the -pcl
 switch to invoke the PCL Renderer.

 I am not sure what was in the various ZIP files. I would have thought that
 everything should be in there.

 Art

 -Original Message-
 From: Hitesh Bagchi [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 14, 2001 8:28 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Printing PDF using FOP...

 I downloaded the 0.18 version of FOP (Fop-0.18.1-DEV-src.zip).
 In it I did find the PCLRenderer class but found no example explaining how
 to
 use it.
 Also the code I found in the src directory do not contain the
 org.apache.fop.render.pcl package and all the new packages of 0.18 although
 the
 javadocs has them. Did I downloaded the wrong zip file.?
 Can somebody provide me with a code snippet as to how to use PCLRenderer.
 Hitesh..

 Art Welch wrote:

  I think that you will want to upgrade to a newer version of FOP. I believe
  that the PrintCommandLine/AWTRenderer were not functioning in earlier
  versions. The PCLRenderer is also a fairly recent addition.
 
  HTH,
  Art
 
  -Original Message-
  From: Hitesh Bagchi [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, June 13, 2001 8:04 AM
  To: [EMAIL PROTECTED]
  Subject: Printing PDF using FOP...
 
  Hi,
  I am new to fop and I am not sure whether this is the right place to post
  this
  question.
  Actually what I intend to do is:
  Write an application which will generate a pdf file using fop and then
 send
  it
  to the printer without user intervention. I am able to generate the pdf
 file
  using fop. It works perfectly. But I am struggling for the past few days
 as
  to
  how to print the pdf using fop. I went through the mailing list archives
 and
  found some references to AWTRenderer and PCLRenderer but I couldn't work
 out
  a
  solution. Moreover I didn't find the PCLRenderer in fop 0.17. Is it a new
  addition.?
  I tried running the PrintCommandLine program in fop but it always gives me
  an
  error:
  using SAX parser org.apache.xerces.parsers.SAXParser
  using element mapping org.apache.fop.fo.StandardElementMapping
  using element mapping org.apache.fop.svg.SVGElementMapping
  using property list mapping
  org.apache.fop.fo.StandardPropertyListMapping
  using property list mapping org.apache.fop.svg.SVGPropertyListMapping
  building formatting object tree
  WARNING: Unknown formatting object
  http://www.w3.org/1999/XSL/Transform^stylesheet
  FATAL ERROR: null
 
  Can somebody please help. My query is how to send the generated pdf
 document
  to
  the printer to print with the default options.
 
  Thanks,
  Hitesh
 
  -
  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]

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

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